简体   繁体   English

Discord.js 丢包

[英]Discord.js Packet Loss

After running my bot for a while using discord.js/voice the packet loss is horrible, it loses 1 packet every second.使用 discord.js/voice 运行我的机器人一段时间后,数据包丢失非常可怕,它每秒丢失 1 个数据包。 Is this a memory leak?这是内存泄漏吗? I switched providers and it still happens.我换了提供商,它仍然发生。 Note: When I start the bot there is no packet loss but after a couple of hours there's a lot of it.注意:当我启动机器人时,没有丢包,但几个小时后有很多丢包。

Can someone please help?有人可以帮忙吗? (I use process.on('unhandledRejection') and process.on('uncaughtException') if that is a problem since I've seen issues with it.) (我使用process.on('unhandledRejection')process.on('uncaughtException')如果这是一个问题,因为我已经看到了它的问题。)

Packet Loss Screenshot丢包截图

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM