zorkian / nagios-api

A REST-like, JSON interface to Nagios
BSD 3-Clause "New" or "Revised" License
586 stars 173 forks source link

read_log def blocks api requests #50

Closed ev0ldave closed 6 years ago

ev0ldave commented 9 years ago

read_log loop takes too long to finish on large nagios installations taking up to 5 minutes to complete before answering the api request loop via diesel. Added is a PR that moves the read_log into a thread outside of diesel.