Sped up the gold tick

This commit is contained in:
2019-06-05 17:24:11 +10:00
parent 2f538ca822
commit 316b0b6002
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -370,7 +370,7 @@ const ladderRequest = (connection) => (req, res) => {
};
const runGoldTick = (connection) => {
let goldTickJob = new CronJob('0 */30 * * * *', () => {
let goldTickJob = new CronJob('0 */20 * * * *', () => {
let query = 'UPDATE profiles SET gold = gold + recruits;';
connection.query(query, (err) => {
if (err) throw err;