x
This commit is contained in:
+3
-3
@@ -113,9 +113,9 @@ class Bucket:
|
||||
response = stub.BucketBuckets(request)
|
||||
return list(response.buckets)
|
||||
|
||||
def watch(self, key, handle):
|
||||
def watch(self):
|
||||
def watch_thread(self, key, handle):
|
||||
queue = Queue()
|
||||
|
||||
def entry_request_iterator():
|
||||
yield srpc_pb2.BucketWatchRequest(
|
||||
name=self.__name, key=key, plugin_id=plugin_id
|
||||
@@ -181,7 +181,7 @@ app.watch(key="*", handle=handle)
|
||||
# app.name = random.randrange(1,100,1)
|
||||
# print("==")
|
||||
# app.deleteAll()
|
||||
print(app.name)
|
||||
print("app.name", app.name)
|
||||
|
||||
|
||||
class Sender:
|
||||
|
||||
Reference in New Issue
Block a user