mirror of https://github.com/skygpu/skynet.git
Doc `GPUConnector.get_full_queue_snapshot()`
parent
1b528e1fa4
commit
18cdffa700
|
@ -164,6 +164,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