codelong

Results 12 issues of codelong

The code accidentally panics in a certain OnResponse, how can the code not stop? Let other requests continue.

I wrote multiple OnResponse. Let’s say there are five. The previous one is used for judgment. If I want to retry in the third OnResponse, how can I prevent the...

question

![image](https://user-images.githubusercontent.com/41498415/74461815-19b6eb80-4eca-11ea-82e1-9a0ff3585f93.png) E/RxJava: io.reactivex.exceptions.CompositeException: 2 exceptions occurred. 报了这个 支付成功了 但收不到回调

462512 bytes retained ┬ ├─ android.os.FileObserver$ObserverThread │ Leaking: NO (PathClassLoader↓ is not leaking) │ Thread name: 'FileObserver' │ GC Root: Input or output parameters in native code │ ↓ thread...

How to remove duplicate rows in DataFrame? python's pd.drop_duplicates()

每次服务调用都会解析token,如何处理feign中间调用由于token过期导致的失败? 只想在gateway对token做有效校验,在资源服务使用@PreAuthorize做的权限校验

插件 ![image](https://user-images.githubusercontent.com/41498415/72523689-4cee6680-389b-11ea-9ab9-db431e1a5bdf.png) 2020-01-16 20:01:12.103 7151-7151/com.theblue.lrelugin D/RePlugin.ws001: PACM: eval plugin pluginone, target=com.theblue.pluginone.ui.TestActivity, container=com.theblue.lrelugin.loader.a.ActivityN1NRNTS0 2020-01-16 20:01:12.103 7151-7151/com.theblue.lrelugin I/RePlugin.ws001: alloc success: container=com.theblue.lrelugin.loader.a.ActivityN1NRNTS0 plugin=pluginone activity=com.theblue.pluginone.ui.TestActivity 2020-01-16 20:01:12.104 7151-7151/com.theblue.lrelugin D/RePlugin.ws001: start activity: real intent=Intent {...

多端登录时,如果有其他类型的客户端在线,就无法成功登录已登录的客户端。我的配置是否有问题? 1. userId 1 login DESKTOP -> 成功 2. userId 1 login DESKTOP -> 成功 3. userId 1 login ANDROID -> 成功 4. userId 1 login ANDROID -> 失败 ![image](https://github.com/turms-im/turms/assets/41498415/3f297d4a-ada5-4fa2-8a74-d6ee6c79b61d)

status: confirming

我开启了turms.service.message.use-conversation-id=true。 messageService.queryMessagesWithTotal 返回的total,好像只查询了第一条的Message的senderId。 ```typescript const USER_ONE_ID = '999'; const USER_TWO_ID = '1000'; clientUserOne.messageService.queryMessagesWithTotal({ fromIds: [targetId], // targetId=1000 areGroupMessages: false }) clientUserTwo.messageService.queryMessagesWithTotal({ fromIds: [targetId], // targetId=999 areGroupMessages: false }) ``` clientUserOne(userId=999)的total=0...

question
status: confirming

开启 turms.service.message.use-conversation-id=true 当前登录用户Id=10,我想获取与用户['11', '12', '13']每个会话的未读消息数量。但现在只返回了第一条消息的记录; ``` MessageService.queryMessagesWithTotal({ fromIds: ['11', '12', '13'], areGroupMessages: false, maxCount: 1, descending: true, }); ``` 实际响应: ```json [ { "total": 24, "isGroupMessage": false, "fromId": "11", "messages":...

question