Selaa lähdekoodia

Make the ugly fix bigger

Markus-Rost 4 vuotta sitten
vanhempi
sitoutus
8d7a9d99f6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      util/database.js

+ 1 - 1
util/database.js

@@ -5,7 +5,7 @@ const db = new sqlite3.Database( './wikibot.db', mode, dberror => {
 		console.log( '- ' + shardId + ': Error while connecting to the database: ' + dberror );
 		return dberror;
 	}
-	db.exec( 'PRAGMA foreign_keys = ON; PRAGMA busy_timeout = 100;', function (error) {
+	db.exec( 'PRAGMA foreign_keys = ON; PRAGMA busy_timeout = 1000;', function (error) {
 		if ( error ) {
 			console.log( '- ' + shardId + ': Error while enabling the foreign key constraint: ' + error );
 		}