Item14732: statistics script blocks all of foswiki
Priority: Urgent
Current State: Closed
Released In: 2.1.7
Target Release: patch
Applies To: Engine
Component:
Branches: master Release02x01
As long as somebody iterates over the event log files, i.e. the latest one -
event.log
no other request will be answered due to the file being locked.
Is this really required?
Related:
--
MichaelDaum - 15 Jun 2018
Talking to George, we a greed to remove the reader lock by default, but optionally allow locking again:
Foswiki::Func::eachEventSince($time, $params)
with options in a params hash
level => ...
api => ...
lock => undef / 'LOCK_SH' / 'LOCK_EX'
--
MichaelDaum - 22 Jun 2018