Plugin system update

Extend delay for slower systems when receiving nchan messages
This commit is contained in:
bergware
2022-07-11 22:14:30 +02:00
parent 7ba0d4bbd6
commit 8f8c75dc67
13 changed files with 12 additions and 13 deletions
@@ -39,7 +39,7 @@ function write($message){
curl_close($nchan);
}
usleep(50000);
usleep(100000);
if ($file) {
foreach ($valid as $check) if (strncmp($file,$check,strlen($check))===0) $good = true;
if ($good && pathinfo($file)['extension']=='txt') write(Markdown(file_get_contents($file)));