Commit c9e1e3d
Remove signal handlers
The signal handlers were introduced to avoid cache corruption when the
clcache process is stopped in the middle of a write to the cache
(statistics, manifests or objects). See frerich#233. Even if SIGINT and SIGTERM
were ignored the cache still had a chance to be corrupted in the event
of a SIGTERM (which cannot be ignored).
Since frerich#233 the writing of files to the cache has been improved to
replace the files atomically, reducing the risk of storing corrupted
files in the cache. See pull requests frerich#286, frerich#292 and frerich#296. Therefore
ignoring these signals is not needed anymore.1 parent 05b2931 commit c9e1e3d
1 file changed
+0
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
1513 | 1512 | | |
1514 | 1513 | | |
1515 | 1514 | | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
1521 | 1515 | | |
1522 | | - | |
1523 | | - | |
1524 | | - | |
1525 | 1516 | | |
1526 | 1517 | | |
1527 | 1518 | | |
| |||
0 commit comments