-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include serverVersionAndHash into server response
Motivation: 1. Small optimization. One less client-server hoop. #104 Before the commit (debug, idle) time aerospace list-workspaces --all real 0m0.041s user 0m0.002s sys 0m0.001s (debug, busy, 8 windows) alt-w = ['workspace W', 'exec-and-forget bash -c "time /Users/bobko/a/AeroSpace/LocalPackage/.build/debug/aerospace list-workspaces --all" 2> ~/log'] real 0m0.165s user 0m0.002s sys 0m0.001s After the commit (debug, idle) time aerospace list-workspaces --all real 0m0.024s user 0m0.002s sys 0m0.002s (debug, busy, 8 windows) alt-w = ['workspace W', 'exec-and-forget bash -c "time /Users/bobko/a/AeroSpace/LocalPackage/.build/debug/aerospace list-workspaces --all" 2> ~/log'] real 0m0.145s user 0m0.004s sys 0m0.004s 2. Now if server and client have different versions, but understand each other, the error is not reported
- Loading branch information
1 parent
5183687
commit 057dff1
Showing
3 changed files
with
55 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters