建议新开一个进程用于发送消息
Open
- Dominant language
- Python
- Stars
- 5.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
def proc_msg(self):
```
import multiprocessing
def worker(obj):
while True:
obj.schedule()
time.sleep(0.5)
p = multiprocessing.Process(target=worker, args=(self,))
p.start()
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the proposed proc_msg entry point and the existing schedule flow. Read how the bot currently sends messages and how multiprocessing.Process would receive self; the work is complete when message scheduling runs in the separate worker without disrupting the existing bot behavior, with the relevant behavior verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100