Resuming/Cancelling request

Hello,

I’m using Nakama with Godot for authoritative matches. I notice that after closing the socket manually I get the following messages in my console:

=== Nakama : DEBUG === Resuming request: 54: NakamaException(StatusCode={-1}, Message='{Request cancelled.}', GrpcStatusCode={-1})
=== Nakama : DEBUG === Cancelling request: 55
=== Nakama : DEBUG === Resuming request: 55: NakamaException(StatusCode={-1}, Message='{Request cancelled.}', GrpcStatusCode={-1})
=== Nakama : DEBUG === Cancelling request: 56
=== Nakama : DEBUG === Resuming request: 56: NakamaException(StatusCode={-1}, Message='{Request cancelled.}', GrpcStatusCode={-1})
=== Nakama : DEBUG === Cancelling request: 57
=== Nakama : DEBUG === Resuming request: 57: NakamaException(StatusCode={-1}, Message='{Request cancelled.}', GrpcStatusCode={-1})

Is this normal and could it impact performance? These are listed for every single request I’ve sent through the socket. I’m awaiting the requests properly everywhere so not sure what’s causing it.

Hello @MinatoTW,

These are debug level logs and can be ignored, they won’t have a performance impact as you’re not supposed to use debug level in a production deployment.

I believe these are just part of the Godot sdk normal handling of socket disconnection, any in-flight requests that have been done will be cancelled once the socket is no longer there to receive their response.

Hope this clarifies.