Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
  • Sign in
S
solarium
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Commits
  • common
  • solarium
  • Repository

Switch branch/tag
  • solarium
  • library
  • Solarium
  • Plugin
  • ParallelExecution
  • ParallelExecution.php
Find file
BlameHistoryPermalink
  • Björn Häuser's avatar
    usleep after curl_multi_select -1 · c837441c
    Björn Häuser authored Dec 17, 2016
    According to these php bugs:
    
    * https://bugs.php.net/bug.php?id=61141
    * https://bugs.php.net/bug.php?id=63842
    
    thats what we should do.
    
    I came across this issue when trying to make the ParallelExecution
    working on my CentOS 7.3 box. It spinlooped inside the changed loop.
    
    Also guzzle is doing the same thing:
    
    https://github.com/guzzle/guzzle/blob/master/src/Handler/CurlMultiHandler.php#L103
    
    I am not sure if the timeout needs to be configurable and if the choosen
    value (100) is good.
    c837441c
ParallelExecution.php 6.17 KB
EditWeb IDE

Replace ParallelExecution.php

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.