You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using the Mullvad VPN and tmux, so I took this plugin as kind of an inspiration to do a mullvad dito.
One thing I noticed early on was that for each plugin feature displayed on each update it made its own call resulting in the underlying VPN tool to be called. Since such calls tend to be somewhat slow, they all showed up in htop, so I made a fairly simplistic caching mechanism, that only actually calls the API once every 5 seconds.
I have never tried Nord VPN, but I guess it would be similar in this regard. Anyhow feel free to grab my caching, or even better implement an improvement :) You can find my humble take at jaclu/tmux-mullvad in the script scripts/helpers.sh
The text was updated successfully, but these errors were encountered:
Hi, I am using the Mullvad VPN and tmux, so I took this plugin as kind of an inspiration to do a mullvad dito.
One thing I noticed early on was that for each plugin feature displayed on each update it made its own call resulting in the underlying VPN tool to be called. Since such calls tend to be somewhat slow, they all showed up in htop, so I made a fairly simplistic caching mechanism, that only actually calls the API once every 5 seconds.
I have never tried Nord VPN, but I guess it would be similar in this regard. Anyhow feel free to grab my caching, or even better implement an improvement :) You can find my humble take at jaclu/tmux-mullvad in the script scripts/helpers.sh
The text was updated successfully, but these errors were encountered: