diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-10-11 13:32:34 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-10-11 13:32:34 +0300 |
commit | 7b3235be5c837f8ef74f099e5048251aeb17f093 (patch) | |
tree | e9f76c75dedd47439de9d39f084c55084c33dd52 /monitor | |
parent | 5275715ea7ba476af67ee293b242021b45306638 (diff) |
To improve bdep-clean and bdep-monitor performance increase LIMIT clause value in their SELECT queries from 100 to 2000
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/monitor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor/monitor.cxx b/monitor/monitor.cxx index 126650c..6d6bb99 100644 --- a/monitor/monitor.cxx +++ b/monitor/monitor.cxx @@ -538,7 +538,7 @@ namespace brep query::id.toolchain_name + order_by_version (query::id.toolchain_version, false /* first */) + - "OFFSET" + query::_ref (offset) + "LIMIT 100"); + "OFFSET" + query::_ref (offset) + "LIMIT 2000"); connection_ptr conn (db.connection ()); |