在同一次请求中,无法向不同的gateway发送数据
Open
- Dominant language
- PHP
- Stars
- 1k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Description
```
Gateway::$registerAddress = '172.17.16.7:5000';
Gateway::sendToUid(10120,$msg);
Gateway::$registerAddress = '172.17.16.5:5000';
Gateway::sendToUid(10100,$msg);
```
第二个会失败,打印日志里,数据还是发送到第一个的gateway中
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue using the two Gateway::$registerAddress values and the consecutive sendToUid calls shown in the report. Trace sendToUid and the registerAddress handling to find why the second call still uses the first gateway; done means each call sends to its selected gateway.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100