WordPress / WordPress/phpdoc-parser

Get rid of sleep pauses in process

Open
#144 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement has PR
Dominant language
PHP
Stars
239
Forks
81
Avg merge
16h 29m
Merged PRs (30d)
8

Description

I tried several times and cannot trace back to technical reasons for sleep( 3 ) every ten items.

Can someone explain what exactly it is doing? Farthest I got @rmccue said @paulgibbs (?) added it to handle race condition (??).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the processing loop that calls sleep( 3 ) every ten items, then read the issue discussion and repository history for the suspected race-condition rationale. Done means the pauses are removed only after the underlying synchronization behavior is understood and processing remains reliable without them.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.