Feature #506
Defer event signaling after server response
Status: | CLOSED | Start date: | 09/22/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 09/22/2011 | |
Assignee: | - | % Done: | 100% | |
Category: | nethserver-nethgui | |||
Target version: | Sigma | |||
Resolution: | NEEDINFO: |
Description
Some events may cause the web server to restart, closing any active connection.
Introduce the way to defer the event signaling, putting the exit status into the user session for subsequent notifications.
Related issues
History
#1 Updated by Davide Principi almost 10 years ago
See documentation on PHP exec()
function
http://php.net/manual/en/function.exec.php
If a program is started with this function, in order for it to continue running in the background, the output of the program must be redirected to a file or another output stream. Failing to do so will cause PHP to hang until the execution of the program ends.
#2 Updated by Davide Principi over 9 years ago
- Status changed from NEW to CLOSED
- Assignee set to Davide Principi
- % Done changed from 0 to 100
It's available since commit:1be28fc5dcec5002b1aa2
The first argument for signalEvent()
is now an "event specification"
<eventName>[@<queueName>][ &]
Available queues
- now (default)
- post-process
- post-render
The ampersand "&" runs the event process detached.