littlecodersh / littlecodersh/ItChat

怎么并行多开?

Open
#720 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
26.5k
Forks
5.6k
PR merge metrics
No merged PRs in 30d

Description

在一个方法中,new 两个实例,那么会依次让我扫码登陆两个账号。

但是现在我想写一个接口,调用一次就new 一个实例,进行扫码,如果我先调用接口,出现了二维码,但是我不扫码登陆,后台不断还在调用weixin api 去获取状态和二维码。
这个时候,我想再调用下接口生成新的二维码,进程已经阻塞了,返回不了二维码,除非前一个二维码失效(400), 这个有什么方法解决码?

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

No files or tests are named. Start by tracing instance creation and the QR-code/status polling flow described in the issue, then reproduce two API calls with the first login unfinished. Done means a later call can return an independent QR code without being blocked by the earlier session.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.