note 129159 added to features.persistent-connections
| From: | unger at mirea dot ru | Date: | Sat, 13 Jan 2024 16:30:28 +0000 |
| Subject: | note 129159 added to features.persistent-connections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221113@lists.php.net to get a copy of this message | ||
It seems that sleep(1) close persistent connection. At least this is true for SQLite (3.40.1).
However, if you call sleep(0), the connection will not be closed.
--
PHP 8.0.27
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.157.134 (proxied: 46.39.51.214)
----
Manual Page -- https://php.net/manual/en/features.persistent-connections.php
Edit -- https://main.php.net/note/edit/129159
Del: integrated -- https://main.php.net/note/delete/129159/integrated
Del: useless -- https://main.php.net/note/delete/129159/useless
Del: bad code -- https://main.php.net/note/delete/129159/bad+code
Del: spam -- https://main.php.net/note/delete/129159/spam
Del: non-english -- https://main.php.net/note/delete/129159/non-english
Del: in docs -- https://main.php.net/note/delete/129159/in+docs
Del: other reasons-- https://main.php.net/note/delete/129159
Reject -- https://main.php.net/note/reject/129159
Search -- https://main.php.net/manage/user-notes.php