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/11431 github. org/Juniper/ contrail- puppet/ commit/ f554d96571a76d8 a12e394d3939cf5 59125f2f80
Committed: http://
Submitter: Zuul
Branch: R2.20
commit f554d96571a76d8 a12e394d3939cf5 59125f2f80
Author: Sundaresan Rajangam <email address hidden>
Date: Tue Jun 9 13:00:39 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: Ieb7d543c22edad 13936f58b04abb4 1632578f51e
Partial-Bug: #1459769