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
Puts the current Redis connection immediately into the ngx_lua cosocket connection pool.
171
+
Puts the current MySQL connection immediately into the ngx_lua cosocket connection pool.
172
172
173
173
You can specify the max idle timeout (in ms) when the connection is in the pool and the maximal size of the pool every nginx worker process.
174
174
175
175
In case of success, returns `1`. In case of errors, returns `nil` with a string describing the error.
176
176
177
-
Only call this method in the place you would have called the `close` method instead. Calling this method will immediately turn the current redis object into the `closed` state. Any subsequent operations other than `connect()` on the current objet will return the `closed` error.
177
+
Only call this method in the place you would have called the `close` method instead. Calling this method will immediately turn the current `resty.mysql` object into the `closed` state. Any subsequent operations other than `connect()` on the current objet will return the `closed` error.
0 commit comments