[Rspamd] Slight changes to improve memory usage

[Web] Dirty hack to touch Rspamd maps a second time
This commit is contained in:
andryyy
2019-10-30 20:07:58 +01:00
parent a1971f7af8
commit 27de9dbf92
9 changed files with 11 additions and 9 deletions

View File

@@ -235,6 +235,8 @@ function rspamd($_action, $_data = null) {
}
fwrite($map_handle, $map_content . PHP_EOL);
fclose($map_handle);
sleep(1.5);
touch('/rspamd_custom_maps/' . $map);
}
}
catch (Exception $e) {