Make small fixes

This commit is contained in:
Justine Tunney 2022-04-17 10:33:12 -07:00
parent 80308079ec
commit ab38f0823d
5 changed files with 7 additions and 6 deletions

View file

@ -7093,7 +7093,7 @@ void RedBean(int argc, char *argv[]) {
isinitialized = true;
CallSimpleHookIfDefined("OnServerStart");
#ifdef STATIC
EventLoop();
EventLoop(-1, HEARTBEAT);
#else
if (!IsWindows() && isatty(0)) {
ReplEventLoop();