Skip to content

Commit 8b93898

Browse files
authored
Merge pull request #11211 from LawnGnome/time-out-for-longer
background-worker: bump timeout to 4h
2 parents f0c7895 + b6ac986 commit 8b93898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/background-worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn main() -> anyhow::Result<()> {
4949

5050
// We run some long-running queries in the background worker, so we need to
5151
// increase the statement timeout a bit…
52-
config.db.primary.statement_timeout = Duration::from_secs(60 * 60);
52+
config.db.primary.statement_timeout = Duration::from_secs(4 * 60 * 60);
5353

5454
let runtime = tokio::runtime::Builder::new_multi_thread()
5555
.enable_all()

0 commit comments

Comments
 (0)