mirror of
https://github.com/flatpak/flatpak.git
synced 2026-03-24 09:52:48 -04:00
dir: Tidy up definition of cache timeout
Adding brackets makes it a little more obvious that it’s 5 minutes, and less likely that operator precedence where the macro is used will result in the wrong value being calculated. Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
committed by
Alexander Larsson
parent
63b4f3a5c1
commit
98e372e85e
@@ -71,7 +71,7 @@
|
||||
|
||||
#define NO_SYSTEM_HELPER ((FlatpakSystemHelper *) (gpointer) 1)
|
||||
|
||||
#define SUMMARY_CACHE_TIMEOUT_SEC 5 *60
|
||||
#define SUMMARY_CACHE_TIMEOUT_SEC (60 * 5)
|
||||
#define FILTER_MTIME_CHECK_TIMEOUT_MSEC 500
|
||||
|
||||
#define SYSCONF_INSTALLATIONS_DIR "installations.d"
|
||||
|
||||
Reference in New Issue
Block a user