Is it possible to setup long tail cancel from node side?

Is it possible to setup long tail cancel from node side?

In what way are you thinking?

i think if connection is very long, for example 4-5 min then it more like stuck connection, and it could terminate. I think about this because, some time it looks like there is some stuck connections that preventing node from stop when update, need to stop node in task manager

There are several options, which could help with stuck connections

      --storage2.min-upload-speed memory.Size                    a client upload speed should not be lower than MinUploadSpeed in bytes-per-second (E.g: 1Mb), otherwise, it will be flagged as slow-connection and potentially be closed (default 0 B)
      --storage2.min-upload-speed-congestion-threshold float     if the portion defined by the total number of alive connection per MaxConcurrentRequest reaches this threshold, a slow upload client will no longer be monitored and flagged (default 0.8)
      --storage2.min-upload-speed-grace-duration duration        if MinUploadSpeed is configured, after a period of time after the client initiated the upload, the server will flag unusually slow upload client (default 10s)