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
Since we already have the keepTime value from the server, the easiest thing to do is use os.Chtimes() to update the modification time of the net when used for a match. So every net that is used inside the keepTime window will not be deleted, without any hard-coding.
An alternative is to periodically get a touch value from the server and update the modification time of the specified net (if present).
To allow anchor net to be avaiable to test against similar to the code in lczero-server/main.go here:
the desired network would need to be available. The following code in lczero-client/lc0_main.go deletes old networks:
However, it should be relatively simple to include a condition to not delete specific networks. E.g.
It would probably be better to store the sha in a variable declaration or a configuration file.
The text was updated successfully, but these errors were encountered: