Loading changes/ticket25951 0 → 100644 +9 −0 Original line number Diff line number Diff line o Minor features (mainloop): - Move responsibility for flushing log callbacks from a once-per-second callback to a callback that is only scheduled as needed. Once enough items are removed from our once-per-second callback, we can eliminate it entirely to conserve CPU when idle. Closes ticket 25951. src/or/main.c +0 −3 Original line number Diff line number Diff line Loading @@ -1701,9 +1701,6 @@ run_scheduled_events(time_t now) signewnym_impl(now); } /* 0c. If we've deferred log messages for the controller, handle them now */ flush_pending_log_callbacks(); /* Maybe enough time elapsed for us to reconsider a circuit. */ circuit_upgrade_circuits_from_guard_wait(); Loading Loading
changes/ticket25951 0 → 100644 +9 −0 Original line number Diff line number Diff line o Minor features (mainloop): - Move responsibility for flushing log callbacks from a once-per-second callback to a callback that is only scheduled as needed. Once enough items are removed from our once-per-second callback, we can eliminate it entirely to conserve CPU when idle. Closes ticket 25951.
src/or/main.c +0 −3 Original line number Diff line number Diff line Loading @@ -1701,9 +1701,6 @@ run_scheduled_events(time_t now) signewnym_impl(now); } /* 0c. If we've deferred log messages for the controller, handle them now */ flush_pending_log_callbacks(); /* Maybe enough time elapsed for us to reconsider a circuit. */ circuit_upgrade_circuits_from_guard_wait(); Loading