rename TaskState to WorkerTaskContext
This commit is contained in:
1 parent
f7348a23cd
commit
c8449217dc
10 files changed
+31
-29
No files matched your search
@@ -17,7 +17,7 @@ fn garbage_collection(worker: &WorkerTask) -> Result<(), Error> {
|
||||
worker.log("start garbage collection");
|
||||
|
||||
for i in 0..50 {
|
||||
worker.fail_on_abort()?;
|
||||
worker.check_abort()?;
|
||||
|
||||
flog!(worker, "progress {}", i);
|
||||
|
||||
|
||||
Reference in new issue
Block a user