Skip to content

Commit fda073f

Browse files
committed
oop
1 parent 461487d commit fda073f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/quota.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ void QuotaManager::init(const std::string &source_path, uint64_t limit, int resc
1414
rescan_interval = std::chrono::seconds(rescan_seconds);
1515
enabled = true;
1616

17-
calculate_usage();
17+
calculate_usage(std::stop_token{});
1818

1919
if (rescan_interval.count() > 0) {
2020
std::println("QUOTA: Starting background rescan thread (Interval: {}s)", rescan_seconds);

0 commit comments

Comments
 (0)