Fixed 5s timer for protocol status checker.
This commit is contained in:
		
							parent
							
								
									5264fbf546
								
							
						
					
					
						commit
						2c972c0829
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -96,7 +96,7 @@ void statusMonitor(void * np){ | ||||||
|       Controller::CheckAllStreams(Controller::Storage["streams"]); |       Controller::CheckAllStreams(Controller::Storage["streams"]); | ||||||
|       Controller::myConverter.updateStatus(); |       Controller::myConverter.updateStatus(); | ||||||
|     } |     } | ||||||
|     Util::sleep(5000);//sleep 5 seconds
 |     Util::wait(5000);//wait at least 5 seconds
 | ||||||
|   } |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -64,7 +64,7 @@ void Controller::checkConfig(JSON::Value & in, JSON::Value & out){ | ||||||
|       Util::Config::printDebugLevel = out["debug"].asInt(); |       Util::Config::printDebugLevel = out["debug"].asInt(); | ||||||
|       INFO_MSG("Debug level set to %u", Util::Config::printDebugLevel); |       INFO_MSG("Debug level set to %u", Util::Config::printDebugLevel); | ||||||
|     } |     } | ||||||
|   }     |   } | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| ///\brief Checks an authorization request for a given user.
 | ///\brief Checks an authorization request for a given user.
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Thulinma
						Thulinma