summaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2023-08-10 20:39:46 +0000
committerJunio C Hamano <gitster@pobox.com>2023-08-10 14:04:17 -0700
commitc97ec0378b97036c62492678931a297a4498d12c (patch)
tree24cde2dcc33cd2c93e5aaa3c8f2bc8db2bbb1d4e /git-gui/lib/diff.tcl
parentdaa787010c82b32c3fdc8a2bf2a4ce90fff5d5b0 (diff)
maintenance: fix systemd schedule overlaps
The 'git maintenance run' command prevents concurrent runs in the same repository using a 'maintenance.lock' file. However, when using systemd the hourly maintenance runs the same time as the daily and weekly runs. (Similarly, daily maintenance runs at the same time as weekly maintenance.) These competing commands result in some maintenance not actually being run. This overlap was something we could not fix until we made the recent change to not use the builting 'hourly', 'daily', and 'weekly' schedules in systemd. We can adjust the schedules such that: 1. Hourly runs avoid the 0th hour. 2. Daily runs avoid Monday. This will keep maintenance runs from colliding when using systemd. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions