contrail-collector executes delrequest.lua script when a Generator
gets disconnected. On a scale setup, some Generators (vrouter-agent,
tor-agent) originates more UVEs. Therefore, in some cases,
delrequest.lua takes more than 5 seconds [default lua-time-limit] to
complete. If the lua script runs for more than the configured time
limit, then redis returns error to other requests till the script is
completed.
This patch increases the lua-time-limit to 15000 milliseconds
in the redis config file.
Reviewed: https:/ /review. opencontrail. org/11430 github. org/Juniper/ contrail- fabric- utils/commit/ b981f0d33df6e70 561f4729f9e6132 5cfa5cbef6
Committed: http://
Submitter: Zuul
Branch: R2.20
commit b981f0d33df6e70 561f4729f9e6132 5cfa5cbef6
Author: Sundaresan Rajangam <email address hidden>
Date: Tue Jun 9 12:33:11 2015 -0700
Increase the lua-time-limit to 15sec from 5sec
contrail-collector executes delrequest.lua script when a Generator
gets disconnected. On a scale setup, some Generators (vrouter-agent,
tor-agent) originates more UVEs. Therefore, in some cases,
delrequest.lua takes more than 5 seconds [default lua-time-limit] to
complete. If the lua script runs for more than the configured time
limit, then redis returns error to other requests till the script is
completed.
This patch increases the lua-time-limit to 15000 milliseconds
in the redis config file.
Change-Id: Idbba259b115015 bc86a87b8851ca9 271ac4e312c
Partial-Bug: #1459769