mirror of https://github.com/skygpu/skynet.git
Doc `GPUConnector.get_full_queue_snapshot()`
parent
eee19f1953
commit
d5bd2c24c5
|
@ -161,6 +161,11 @@ class SkynetGPUConnector:
|
||||||
# handing in the `snap['queue']` output beforehand?
|
# handing in the `snap['queue']` output beforehand?
|
||||||
# -> since that call is the only usage of `self`?
|
# -> since that call is the only usage of `self`?
|
||||||
async def get_full_queue_snapshot(self):
|
async def get_full_queue_snapshot(self):
|
||||||
|
'''
|
||||||
|
Keep in-sync with latest (telos chain's smart-contract) table
|
||||||
|
state by polling (currently with period 1s).
|
||||||
|
|
||||||
|
'''
|
||||||
snap = {
|
snap = {
|
||||||
'requests': {},
|
'requests': {},
|
||||||
'my_results': []
|
'my_results': []
|
||||||
|
|
Loading…
Reference in New Issue