File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " barky" ,
3- "version" : " 1.7.2 " ,
3+ "version" : " 1.7.3 " ,
44 "description" : " A simple cloud services watchdog with digest notification support & no external dependencies" ,
55 "homepage" : " https://github.com/Rohland/barky#readme" ,
66 "main" : " dist/cli.js" ,
Original file line number Diff line number Diff line change @@ -144,9 +144,10 @@ export class MySqlEvaluator extends BaseEvaluator {
144144 connection : mysql . Connection ,
145145 app : IApp ) {
146146 const timeout = app . timeout || 15000 ;
147+ const query = `set session max_execution_time = ${ timeout } ; ${ app . query } ;` ;
147148 const results = await connection . query ( {
148- sql : app . query ,
149- timeout : timeout
149+ sql : query ,
150+ timeout
150151 } ) ;
151152 let resultIndex = parseInt ( app [ "result-index" ] ) ;
152153 if ( Number . isNaN ( resultIndex ) ) {
You can’t perform that action at this time.
0 commit comments