{"action":"opened","issue":{"url":"https://api.github.com/repos/BOINC/boinc/issues/833","labels_url":"https://api.github.com/repos/BOINC/boinc/issues/833/labels{/name}","comments_url":"https://api.github.com/repos/BOINC/boinc/issues/833/comments","events_url":"https://api.github.com/repos/BOINC/boinc/issues/833/events","html_url":"https://github.com/BOINC/boinc/issues/833","id":56199001,"number":833,"title":"Checkpoint while standalone","user":{"login":"romw","id":985772,"avatar_url":"https://avatars.githubusercontent.com/u/985772?v=3","gravatar_id":"","url":"https://api.github.com/users/romw","html_url":"https://github.com/romw","followers_url":"https://api.github.com/users/romw/followers","following_url":"https://api.github.com/users/romw/following{/other_user}","gists_url":"https://api.github.com/users/romw/gists{/gist_id}","starred_url":"https://api.github.com/users/romw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romw/subscriptions","organizations_url":"https://api.github.com/users/romw/orgs","repos_url":"https://api.github.com/users/romw/repos","events_url":"https://api.github.com/users/romw/events{/privacy}","received_events_url":"https://api.github.com/users/romw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"davidpanderson","id":985729,"avatar_url":"https://avatars.githubusercontent.com/u/985729?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpanderson","html_url":"https://github.com/davidpanderson","followers_url":"https://api.github.com/users/davidpanderson/followers","following_url":"https://api.github.com/users/davidpanderson/following{/other_user}","gists_url":"https://api.github.com/users/davidpanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpanderson/subscriptions","organizations_url":"https://api.github.com/users/davidpanderson/orgs","repos_url":"https://api.github.com/users/davidpanderson/repos","events_url":"https://api.github.com/users/davidpanderson/events{/privacy}","received_events_url":"https://api.github.com/users/davidpanderson/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-02-02T05:54:34Z","updated_at":"2015-02-02T05:54:34Z","closed_at":null,"body":"**Reported by Nicolas on 27 Mar 37820661 08:00 UTC**\nDebugging checkpoint code can be hard if it requires running under the control of the core client, so it's often useful to make it checkpoint without caring about preferences when running as standalone. For example, making it [checkpoint always](attachment:ticket:450:always_checkpoint.c) if standalone (instead of calling boinc_time_to_checkpoint), but that causes too much I/O. It's much better to make it checkpoint at a [fixed interval](attachment:ticket:450:other_workaround.c)\r\n\r\nI suggest adding a feature inside ```boinc_time_to_checkpoint``` itself to return true every few seconds if running standalone. Maybe make it possible to change the checkpoint interval.\r\n\n\nMigrated-From: http://boinc.berkeley.edu/trac/ticket/450"}}