mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-01-11 14:40:25 +01:00
[PR #684] [CLOSED] Add max attemps to retry connection #1054
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/LGUG2Z/komorebi/pull/684
Author: @eythaann
Created: 2/25/2024
Status: ❌ Closed
Base:
master← Head:attemps-to-retry📝 Commits (1)
12d9193Add max attemps to retry connection📊 Changes
1 file changed (+13 additions, -9 deletions)
View changed files
📝
komorebic/src/main.rs(+13 -9)📄 Description
Problem:
When users runs a shortcut of AHK and komorebi process is not running it start creating komorebic instances indefinitely.
Solution:
Add a max attempts to not wait more than 2s for a response.
Don't try socket connection if komorebi isn't running.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.