Updated gold tick rate - there's gotta be a better way than this

This commit is contained in:
2019-06-06 23:45:25 +10:00
parent daa4f06dfd
commit 2b4f9aa316
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -390,7 +390,7 @@ const ladderRequest = (connection) => (req, res) => {
};
const runGoldTick = (connection) => {
let goldTickJob = new CronJob('0 */20 * * * *', () => {
let goldTickJob = new CronJob('0 */30 * * * *', () => {
let query = 'UPDATE profiles SET gold = gold + recruits;';
connection.query(query, (err) => {
if (err) throw err;