- Jun 28, 2024
-
-
Mateusz Żebrak authored
Also no need to take 2 params into this function
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
Previously when someone choose e.g INFO or WARNING log level, both DEBUG and INFO/WARNING directories containing logs (from that DEBUG and INFO/WARNING level and higher levels) were created. Now its possible to manually select which groups will be created. e.g: - LOG_LEVELS = ["INFO"] - means that only info/ directory will be created and inside that directory there will be log files containing only INFO and higher level messages. - LOG_LEVELS = ["DEBUG", "WARNING"] - means that debug/ and warning/ directories will be created and debug/ will include all possible logs when warning/ directory will include logs starting from WARNING (so also ERROR level messages).
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
-
- Jun 27, 2024
-
-
Mateusz Żebrak authored
Make CommunicationFailureNotificator do not spam with notifications "no response available" in production
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
Move definition of _is_exception_to_catch to ErrorHandlerContextManager so also AsyncClosedErrorHandler can use it
-
- Jun 26, 2024
-
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
Beacause humanize_timedelta is needed before merging: !387 imlementation of it was copied and pasted
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
Inform the user that he can fix the alarm when switching to the working state in the alarms that can be fixed
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
Introduce an additional title on the alarm info screen that tells the user which alarm has been opened
-
Jakub Ziebinski authored
-
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
-
Jakub Ziebinski authored
-
- Jun 25, 2024
-
-
Jakub Ziebinski authored
-
Mateusz Kudela authored
-
Mateusz Kudela authored
-
Mateusz Kudela authored
-
Mateusz Kudela authored
-
- Jun 24, 2024
-
-
Mateusz Żebrak authored
Config is stored in Node.CachedData and is updated with every node address change. Since node shouldn't (and I think also can't) update it's config when it's running, we don't need ever to ask for a "new" config via Commands, and can refer to the cached value only. Note: Commands.get_dynamic_global_properties should still exist in this place, because in case of DGPO is common that we may want to get the latest data and at the same time update the cache (via call to Commands.get_dynamic_global_properties) or just get the currently stored/cached data (via call to Node.cached.dynamic_global_properties). That's a local decision to use cached gdpo or get a recently one.
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
No side effects without this were noticed, but this will ensure newest dgpo is stored when multiple calls were done from multiple tasks or in a situation when no basic info yet (is None), so fetch is ongoing but meanwhile update_gdpo get called.
-
Mateusz Żebrak authored
Previous version was analogous to what we were doing before but there is a palce for some improvements: - since we have batched requests, we don't have to call API separately for config, dgpo or network type, because everything can be done in a batch (GetNodeBasicInfo cmd) - when changing node address, sync is required on a next property access and when there are many calls to accessor, update can be triggered multiple times. Now lock prevents that and multiple asycnio tasks will wait for a single data update to end. - dgpo/config update is done in a more controlled way, via update method
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
Rationale: AppState was created for storing Clive state and DGDPO is more Node-related than Clive-related.
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
This fixes: https://gitlab.syncad.com/hive/clive/-/jobs/1238628 by making it possible to use `__contains__` on set of KeyAliased instances. Rationale is that we do it similarly in `__eq__`
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
-
Mateusz Żebrak authored
-