This commit is contained in:
1-6
2023-08-05 16:49:44 +08:00
parent 1034ce23a1
commit 2cbcfa1a5e
+3 -3
View File
@@ -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: