You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe better to redo this script in python or another better language.
We need a do_purge function that takes a region uuid as parameter. basically it does all the queries that we have now
If a parameter is given, check if it is a valid uuid then call do_purge on it
Else if no parameter is given, purge all regions that haven't come online since 86400 seconds (24 hours). We will need to build a list (SELECT) of such region uuid's, on which to call do_purge
Note: last_seen is a unixtime in the grid's "regions" table
The text was updated successfully, but these errors were encountered:
Maybe better to redo this script in python or another better language.
Note: last_seen is a unixtime in the grid's "regions" table
The text was updated successfully, but these errors were encountered: