Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

blocking pgsqlGetNotify #53

Open
Gemorroj opened this issue Feb 18, 2021 · 0 comments
Open

blocking pgsqlGetNotify #53

Gemorroj opened this issue Feb 18, 2021 · 0 comments

Comments

@Gemorroj
Copy link

Hi.
PDO have pgsqlGetNotify function with second parameter like sleep.
How to correct use that function?
I wrote some example code (sse server using listen/notify postgres functionality).
See at the line https://github.com/Gemorroj/swoole-sse/blob/main/server.php#L40, is it correct? or i need wrap it to corutine or smething else?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant