You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The timer created by this plugin is only destroyed when snowflake_inited is true.
But on some conditions, i.e. etcd_cli:keepalive(lease_id), snowflake_inited would be set to nil but keep the timer running, then plugin reload would cause a timer leak.
Current Behavior
The timer created by this plugin is only destroyed when
snowflake_inited
is true.But on some conditions, i.e.
etcd_cli:keepalive(lease_id)
,snowflake_inited
would be set tonil
but keep the timer running, then plugin reload would cause a timer leak.Expected Behavior
No response
Error Logs
No response
Steps to Reproduce
curl http://127.0.0.1:9180/apisix/admin/plugins/reload -H 'X-API-KEY: edd1c9f034335f136f87ad84b625c8f1' -X PUT
Environment
apisix version
): master branchuname -a
):openresty -V
ornginx -V
):curl http://127.0.0.1:9090/v1/server_info
):luarocks --version
):The text was updated successfully, but these errors were encountered: