Browse Source

2020-04-14 / Kathy Yeh
1. modify cpu high utilization(when url is not setted, cpu utilization is high.)

Kathy_Yeh 5 years ago
parent
commit
1f74f28118
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EVSE/Modularization/ocppfiles/Module_OcppBackend.c

+ 1 - 1
EVSE/Modularization/ocppfiles/Module_OcppBackend.c

@@ -1742,7 +1742,7 @@ int main(void)
 			// Check System Value, process offline Transaction
 			CheckSystemValue();
 			lws_service(context, 10000);//timeout_ms
-			usleep(1000);
+			usleep(5000);
 		}
 
 		if(( (BootNotificationInterval != 0  && ((time((time_t*)NULL)-startTime.bootNotification)>=BootNotificationInterval) )  || ((time((time_t*)NULL)-startTime.bootNotification)>=defaultWaitingTime) ) && ((server_sign == FALSE)/*|| (server_pending == TRUE)*/))