mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-16 23:18:58 +00:00
storage: remove get_or_add_owner, since I don't know what we need yet
This commit is contained in:
parent
94233b8813
commit
89c7f27572
@ -283,15 +283,6 @@ class StorageServer(service.MultiService, Referenceable):
|
||||
|
||||
return alreadygot, bucketwriters
|
||||
|
||||
def get_or_add_owner(self, owner):
|
||||
# this will be more fully implemented when we get the Introduction
|
||||
# protocol built. At that point, it should take the 'owner' argument
|
||||
# (either a FURL or a Sealer/public-key) and look it up in a
|
||||
# persistent table, returning a short integer. If the owner doesn't
|
||||
# yet exist in the table, create a new entry for it and return the
|
||||
# new index.
|
||||
return 0
|
||||
|
||||
def remote_renew_lease(self, storage_index, renew_secret):
|
||||
new_expire_time = time.time() + 31*24*60*60
|
||||
found_buckets = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user