<p><a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="282046781" data-permission-text="Issue title is private" data-url="https://github.com/bitcoin/bitcoin/issues/11896" href="https://github.com/bitcoin/bitcoin/issues/11896#issuecomment-352148399">bitcoin/bitcoin#11896 (comment)</a></p>
<p><a href="https://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap.html" rel="nofollow">https://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap.html</a></p>
<p>"If an app isn’t performing user-initiated work such as updating content on screen, playing music, or downloading a file, the system may put the app in App Nap. "</p>
<p>" For any app that's not performing important user work, App Nap triggers a number of measures, including:</p>
<pre><code>Priority reduction, which reduces the process priority of the app so it receives a smaller share of available processor time

Timer throttling, which reduces the frequency with which the app’s timers are fired

I/O throttling, which reduces the rate at which the app can read or write data from a device while foreground apps need the device
</code></pre>
<p>"</p>
<p>Seems the way to do it correctly is as here:<br>
<a href="https://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/PrioritizeWorkAtTheAppLevel.html#//apple_ref/doc/uid/TP40013929-CH36-SW3" rel="nofollow">https://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/PrioritizeWorkAtTheAppLevel.html#//apple_ref/doc/uid/TP40013929-CH36-SW3</a> but that will require that we add OSX native code.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/1701#issuecomment-423261717">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtl3alYj1RIgtJsd6lD-76o3cYqe2ks5uc8xegaJpZM4Ww2_i">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtroO8EeKezlHu_7HWd16xd2FsydZks5uc8xegaJpZM4Ww2_i.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/bisq","title":"bisq-network/bisq","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/bisq"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ManfredKarrer in #1701: https://github.com/bitcoin/bitcoin/issues/11896#issuecomment-352148399\r\n\r\nhttps://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/AppNap.html\r\n\r\n\"If an app isn’t performing user-initiated work such as updating content on screen, playing music, or downloading a file, the system may put the app in App Nap. \"\r\n\r\n\" For any app that's not performing important user work, App Nap triggers a number of measures, including:\r\n\r\n    Priority reduction, which reduces the process priority of the app so it receives a smaller share of available processor time\r\n\r\n    Timer throttling, which reduces the frequency with which the app’s timers are fired\r\n\r\n    I/O throttling, which reduces the rate at which the app can read or write data from a device while foreground apps need the device\r\n\"\r\n\r\nSeems the way to do it correctly is as here:\r\nhttps://developer.apple.com/library/archive/documentation/Performance/Conceptual/power_efficiency_guidelines_osx/PrioritizeWorkAtTheAppLevel.html#//apple_ref/doc/uid/TP40013929-CH36-SW3 but that will require that we add OSX native code."}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/bisq/issues/1701#issuecomment-423261717"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/1701#issuecomment-423261717",
"url": "https://github.com/bisq-network/bisq/issues/1701#issuecomment-423261717",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [bisq-network/bisq] OSX App Nap mode causes Bisq to lose network connections (#1701)",
"sections": [
{
"text": "",
"activityTitle": "**Manfred Karrer**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@ManfredKarrer",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"bisq-network/bisq\",\n\"issueId\": 1701,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"bisq-network/bisq\",\n\"issueId\": 1701\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/bisq/issues/1701#issuecomment-423261717"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 381906914\n}"
}
],
"themeColor": "26292E"
}
]</script>