Commit 60aa62c
committed
Bump the file size on change
Fix #34
Recent change in blead exposed a bug in `cPanel::StateFile::_resynch`.
When using multiple cPanel::TaskQueue objects, communication between
both objects and `resync` is based on timestamp and filesize to force
reloading the cache.
This change is introducing an additional field to the serialized data to
bump the file size (and eventually rotate after reaching a certain size)
on updates where there would be a no-size change.
Refs: Perl/perl5#195321 parent 79674ac commit 60aa62c
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| 320 | + | |
| 321 | + | |
320 | 322 | | |
321 | 323 | | |
322 | 324 | | |
| |||
355 | 357 | | |
356 | 358 | | |
357 | 359 | | |
| 360 | + | |
358 | 361 | | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
359 | 366 | | |
360 | 367 | | |
361 | 368 | | |
| |||
0 commit comments