jupyter-ai icon indicating copy to clipboard operation
jupyter-ai copied to clipboard

Less verbose logging/exponential backoff when reconnecting chat/completer

Open krassowski opened this issue 2 months ago • 0 comments

Problem

When websocket gets disconnected, the log console gets spammed with messages every second:

image

Making it hard to debug other issues

Proposed Solution

  • Use some function to increase the backoff interval with time
  • Reduce the verbosity to log one line rather than three each time

Additional context

None

krassowski avatar Apr 11 '24 16:04 krassowski