Skip to content

Commit

Permalink
fix core3 being pinned at 100% due to nxlink polling.
Browse files Browse the repository at this point in the history
this was caused due to 9966e57
  • Loading branch information
ITotalJustice committed Dec 21, 2024
1 parent c8c4a27 commit dd63719
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphaira/source/nxlink.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void loop(void* args) {
};

while (!g_quit) {
svcSleepThread(1000000);
svcSleepThread(1e+8);

if (poll_network_change()) {
continue;
Expand Down Expand Up @@ -267,7 +267,7 @@ void loop(void* args) {
sockaddr_in sa_remote{};

while (!g_quit) {
svcSleepThread(10000);
svcSleepThread(1e+8);

if (poll_network_change()) {
break;
Expand Down

0 comments on commit dd63719

Please sign in to comment.