mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Typo
This commit is contained in:
@@ -1254,7 +1254,7 @@ function send_ping() {
|
|||||||
offline_users = [];
|
offline_users = [];
|
||||||
tot_view = 0;*/
|
tot_view = 0;*/
|
||||||
db.collection("connected_users").update({users: {$exists: true}}, {$set: {users: []}}, {multi: true}, function(err, docs){
|
db.collection("connected_users").update({users: {$exists: true}}, {$set: {users: []}}, {multi: true}, function(err, docs){
|
||||||
db.collection("connected_users").update({"_id": "total_users"}, {$set: {total_users: 0}, {multi: true}}, function(err, docs){
|
db.collection("connected_users").update({"_id": "total_users"}, {$set: {total_users: 0}}, {multi: true}, function(err, docs){
|
||||||
db.collection("frontpage_lists").update({viewers: {$ne: 0}}, {$set: {"viewers": 0}}, {multi: true}, function(err, docs) {
|
db.collection("frontpage_lists").update({viewers: {$ne: 0}}, {$set: {"viewers": 0}}, {multi: true}, function(err, docs) {
|
||||||
io.emit("self_ping");
|
io.emit("self_ping");
|
||||||
setTimeout(send_ping, 25000);
|
setTimeout(send_ping, 25000);
|
||||||
|
|||||||
Reference in New Issue
Block a user