Skip to content

Commit dfb3cb9

Browse files
committed
Address CoPilot review
1 parent c089d85 commit dfb3cb9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

doc/admin-guide/files/records.yaml.en.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2573,6 +2573,7 @@ Cache Control
25732573
:units: millisecond
25742574

25752575
How long to wait between each write cycle when syncing the cache directory to disk.
2576+
25762577
.. ts:cv:: CONFIG proxy.config.cache.dir.sync_parallel_tasks INT 1
25772578
:reloadable:
25782579

src/iocore/cache/P_CacheDir.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@ struct CacheSync : public Continuation {
271271
}
272272
}
273273
}
274+
buf = nullptr;
275+
buflen = 0;
276+
buf_huge = false;
274277
};
275278

276279
struct StripteHeaderFooter {

0 commit comments

Comments
 (0)