#8086 closed defect (bug) (fixed)
Don't use blocking transports for cron
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
Transports that do not support non-blocking mode can cause long delays when spawning cron. This is seen after publishing when cron blocks while processing pings.
Possible fixes:
- Prioritize non-blocking transports for non-blocking requests.
- Force cron to use fsockopen.
Attachments (2)
Change History (7)
#2
@
16 years ago
Did you by any chance forget to set the non-blocking transports for the GET branch?
foreach ( array('curl', 'streams', 'fopen', 'fsockopen', 'exthttp') as $transport ) {
vs
foreach ( array('streams', 'fsockopen', 'exthttp') as $transport ) {
#3
@
16 years ago
get and post should return the same transports they did before, just in a different order if non-blocking. Post doesn't have as many transports as get.
Note: See
TracTickets for help on using
tickets.
(In [9572]) Prioritize transports differently for non-blocking requests. fixes #8086