From d5bd2c24c5178179f2135cc59bae0bba52abcf8c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 4 Feb 2025 12:07:43 -0500 Subject: [PATCH] Doc `GPUConnector.get_full_queue_snapshot()` --- skynet/dgpu/network.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/skynet/dgpu/network.py b/skynet/dgpu/network.py index e7a362c..33056d3 100755 --- a/skynet/dgpu/network.py +++ b/skynet/dgpu/network.py @@ -161,6 +161,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': []