ocurrent / obuilder

Experimental "docker build" alternative using btrfs/zfs snapshots
Apache License 2.0
60 stars 17 forks source link

Filter out jobs in progress when pruning Db_store #115

Open kit-ty-kate opened 2 years ago

kit-ty-kate commented 2 years ago

Otherwise some jobs can get removed even before it started building if under heavy load for 10 minutes or if there is no output for that long too.

Building on iphito.ocamllabs.io
+++ Timeout!! (1 hour) +++
+++ Job cancelled +++
MisterDA commented 2 years ago

Why does it matter to init preemptive with only one thread (and not use the default)? Do you use this as a kind of queue for database operations?

kit-ty-kate commented 2 years ago

Do you use this as a kind of queue for database operations?

yes

kit-ty-kate commented 2 years ago

I should use mutexes but we can see later. This is a WIP anyway and it's only for testing