
and have a question. may anyobody shed some light for me on this?
the webserver-handle is called inbetween the send-delay.
so while waiting to send another message the webserver is handled, i guess.
if found this in the source:
https://github.com/ESP8266nu/ESPEasy/bl ... er.ino#L27
Code: Select all
if (Settings.MessageDelay != 0)
{
uint16_t dif = millis() - lastSend;
if (dif < Settings.MessageDelay)
{
uint16_t delayms = Settings.MessageDelay - dif;
char log[30];
sprintf_P(log, PSTR("HTTP : Delay %u ms"), delayms);
addLog(LOG_LEVEL_DEBUG_MORE, log);
unsigned long timer = millis() + delayms;
while (millis() < timer)
backgroundtasks();
}
}
what is (besides that source-code) the max timeout for calling the webserver-handle again?
can i set a timeout/intervall with i.e. 500ms or more (1sek?), before the webserver-handle is called again - but the http-client keeps still responsive?
has anybody any experience with the maximum timeout between calls to the webserver-handle (while keeping a client responsive) ?
thanks for help...
