Comments (11)
@marclundgren I hope #20 will make your PC to feel better 😄
from atom-discord.
Looks like we're polling a remote endpoint on this line, which is likely the culprit for a high energy impact:
https://github.com/HelloWorld017/atom-discord/blob/master/src/send-discord.js#L87
from atom-discord.
A package configuration option for the poll interval (currently set to 3 seconds) is probably the easiest/quickest way to provide a solution that works for everyone.
from atom-discord.
Well, I won't target Atom-Discord
but what I would do, Is opening an issue on Atom
We all know that Atom is not that good when it comes to CPU usage and performance in general but somehow we will never stop love this JavaScript masterpiece
Anyways, being with 40 community packages which I can tell that most of them are doing some front-end stuff
Will slowdown Atom nowhere near like backend work like Atom-Discord
does. It isn't something new that backend is always slower than something that happens on your machine 😄
Hoped I've clarified some things
from atom-discord.
Oh the interval you're talking about shouldn't be like that and I can agree on that. I will make a pull request and see how it goes.
from atom-discord.
Setting interval is already in settings (added at 4236d9a)
You can find it Behaviour > Update Tick
from atom-discord.
That is still wrong @HelloWorld017 I'm making a PR right now to clarify things.
from atom-discord.
from atom-discord.
I really appreciate your contribution!
from atom-discord.
No problem, I'm just here to help some good ideas, glad that it is you to make it and not some guy who won't listen to his users
from atom-discord.
@marclundgren @HelloWorld017 Can one of you close this issue please?
from atom-discord.
Related Issues (20)
- Rich Presence Doesn't pop up in discord on Elementary OS 5.1 (Based on Ubuntu) HOT 2
- Installing the plugin reveals an error HOT 2
- Not showing Presence HOT 4
- Presence not showing up on ubuntu HOT 1
- I dont think its sending custom images
- Failed to load the atom-discord package HOT 3
- Atom Discord not working HOT 2
- Atom Discord "Build Failing" HOT 1
- Add a flatpak IPC workaround
- show on which line you are
- The package is not installing
- Discord Presence not showing HOT 1
- does not waNT TO INSTALL I TRIED 7 TIMES AND NO ERROR SHOWS JUST FAILED TO INSTALL HOT 1
- RPC still shows even if Atom is closed
- Can you add a reconnect button?
- Not show in arch linux HOT 1
- Doesn't working. HOT 1
- custom image not support url HOT 7
- Replace Variables
- Add support for Pulsar Editor HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-discord.