mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-14 17:02:56 +00:00
Add todo
This commit is contained in:
@@ -42,6 +42,7 @@ impl<J: Job> Pool<J> {
|
||||
|
||||
// Run job without holding lock
|
||||
drop(job_table);
|
||||
// TODO don't run job if previous iteration is still running
|
||||
let result = panic::catch_unwind(AssertUnwindSafe(|| {
|
||||
job.run();
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user