#4907 closed Enhancement (incomplete)
Daemon polls for watch directory changes and flushing logs
Reported by: | gvdl | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Daemon | Version: | 2.51 |
Severity: | Normal | Keywords: | patch-needed |
Cc: | gvdl@… |
Description
Introduce a light weight event thread dedicated to watching directories with inotify/kqueue and flushing the logs. Currently these are performed by the daemon spinning around a 1 second delay and calling out.
Change History (4)
comment:1 Changed 11 years ago by gvdl
- Summary changed from Stop daemon from polling watch directory and for logging to Daemon polls for watch directory changes and flushing logs
comment:2 Changed 11 years ago by gvdl
comment:3 Changed 10 years ago by jordan
- Resolution set to incomplete
- Status changed from new to closed
I don't see the advantage of doing that in the main thread compared to a lightweight thread? It's not as if the main thread's doing anything else with those cycles.
comment:4 Changed 8 years ago by mike.dld
Note: See
TracTickets for help on using
tickets.
Should convert daemon to modern signal handling while I'm adding an event_base to the primary thread.