Skip to content
Permalink
Browse files

Update cycle_upnpevents.php

  • Loading branch information...
tarasfrompir committed Mar 16, 2019
1 parent 2383e74 commit b9c8a13cefc70a5c077a39835cc41e57687d6e57
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/cycle_upnpevents.php
@@ -45,7 +45,7 @@
socket_bind($socket, getLocalIp() , 54345) or die("Could not bind to socket\n");
socket_listen($socket, 20840) or die("Could not set up socket listener\n");
while (1) {
if (time() - $checked_time > 10) {
if (time() - $checked_time > 5*60) {
$checked_time = time();
setGlobal((str_replace('.php', '', basename(__FILE__))) . 'Run', time() , 1);
}

0 comments on commit b9c8a13

Please sign in to comment.
You can’t perform that action at this time.