Jaymart
Jaymart
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Cauã Gabriel on 6/4/2024 in #djs-questions
PresenceUpdate usage
all the cache does is allow you to access the data sent from a previous update directly before the new one is sent.
27 replies
DIAdiscord.js - Imagine an app
Created by Cauã Gabriel on 6/4/2024 in #djs-questions
PresenceUpdate usage
in this persons use case yes it does, he does not need member cache at all. all he is doing is saving their music, discord sends this event regardless if the member is in the cache. some libs for some reason, make it so if that member isn't cached you don't get the event.
27 replies
DIAdiscord.js - Imagine an app
Created by Cauã Gabriel on 6/4/2024 in #djs-questions
PresenceUpdate usage
so i found out the hard way. this is just a lib thing, you don't need the member cached to receive the event. depending on your use case you can actually get away without with alot.
27 replies
DIAdiscord.js - Imagine an app
Created by Cauã Gabriel on 6/4/2024 in #djs-questions
PresenceUpdate usage
yeah you can disable the cache, because the cache for that event is only needed for their old presence anyways
27 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
No description
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
I dont think there are enough consumers even tho the UI is reporting so
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
okay, i disabled the broker/queue and it is indeed the issue.
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
instances
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
between the 3
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
it's total used
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
No description
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
and it does that until it just hits mem limit
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
at one point in there it went from 8gb and jumped to 25
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
No description
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
i mean the UI shows them being consumed fast enough but is it possible that in real time they aren't actually? and that's causing the build up of mem?
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
yeee haha was ab to say i hope im not doing that lmao
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
ima disable the event and see what happens
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
yeah that's what I figured
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
only
39 replies
DIAdiscord.js - Imagine an app
Created by Jaymart on 6/7/2024 in #djs-questions
@DiscordJS/WS cache
railway and no container
39 replies