Skip to content

Commit

Permalink
mail store: scan unique user id (#38)
Browse files Browse the repository at this point in the history
Github Issue: #38

Binding actual mailbox data structure version.
  • Loading branch information
y10k committed Sep 13, 2020
1 parent c946f87 commit 239e90f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/rims/mail_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ def self.build(unique_user_id, kvs_meta_open, kvs_text_open)
mail_store
end

def self.scan_unique_user_id(config, &block)
config.scan_unique_user_id(MAILBOX_DATA_STRUCTURE_VERSION, &block)
end

def_delegators :@rw_lock, :read_synchronize, :write_synchronize

def get_mbox_db(mbox_id)
Expand Down

0 comments on commit 239e90f

Please sign in to comment.