Doc `GPUConnector.get_full_queue_snapshot()`

pull/47/head
Tyler Goodlet 2025-02-04 12:07:43 -05:00 committed by Guillermo Rodriguez
parent 1b528e1fa4
commit 18cdffa700
No known key found for this signature in database
GPG Key ID: 002CC5F1E6BDA53E
1 changed files with 5 additions and 0 deletions

View File

@ -164,6 +164,11 @@ class SkynetGPUConnector:
# handing in the `snap['queue']` output beforehand?
# -> since that call is the only usage of `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 = {
'requests': {},
'my_results': []