Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Turn on featcher.xmlrpc and use pyspider all --fetcher-num 2 to cause port conflicts. #895

Open
snail-lb opened this issue May 8, 2019 · 0 comments

Comments

@snail-lb
Copy link

snail-lb commented May 8, 2019

  • pyspider version: 0.3.10
  • Operating system: win10
  • Start up command: pyspider --config ./pyspider/pyspider.json all --fetcher-num 2

pyspider.json:

{
    "fetcher": {
        "xmlrpc": true
    }
}

Expected behavior

Start 2 fetcher threads with the all command.

Actual behavior

fetcher.xmlrpc_run also started two, causing port conflicts.

How to reproduce

Turn on fetcher.xmlrpc, use all to start the program, set fetcher-num=2, which will cause this problem.

snail-lb added a commit to snail-lb/pyspider that referenced this issue May 9, 2019
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