TriggerReactor

TriggerReactor

24.6k Downloads

WAIT can be used in SYNC block

wysohn opened this issue ยท 3 comments

commented
SYNC
#WAIT 123
ENDSYNC

This shouldn't be allowed as it will block the server thread

commented

I think it should, since it would be limiting users' abilities to lag the server (some people may purposefully want that in some very specific cases)

Hmm I don't really see any application of lagging the server purposely.

Any examples?

It's true that it is constraining the user, but why would someone want to do it in the first place? Lagging the server not only wasting the resources but can trigger the watchdog thread to think the server is crashed, so it may end up terminating the server.

commented

Seems had been resolved at #418 (for more context, see 7f87f96)

commented

I think it should, since it would be limiting users' abilities to lag the server (some people may purposefully want that in some very specific cases)