diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-05-22 19:12:55 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-05-23 15:40:29 +0300 |
commit | 3d7f248ee7aa7e5b470cb9bc2fcf76852e798db5 (patch) | |
tree | 81104c01134be4eda13d5f0b1fc8320a9f6a2544 /mod/mod-ci.cxx | |
parent | bad54b28bcc59fe5d19ecaf486f52e6359009e68 (diff) |
Make poll interval for unloaded tenant configurable and rename loaded_timestamp tenant member to unloaded_timestamp
Diffstat (limited to 'mod/mod-ci.cxx')
-rw-r--r-- | mod/mod-ci.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/mod-ci.cxx b/mod/mod-ci.cxx index 18e38fc..0045002 100644 --- a/mod/mod-ci.cxx +++ b/mod/mod-ci.cxx @@ -389,7 +389,9 @@ handle (request& rq, response& rs) warn, verb_ ? &trace : nullptr, *build_db_, - tenant_service ("", "ci", rl.string ()))) + tenant_service ("", "ci", rl.string ()), + chrono::seconds (40), + chrono::seconds (10))) { string msg ("unloaded CI request is created: " + options_->host () + tenant_dir (root, *ref).string ()); |