{"action":"created","issue":{"url":"https://api.github.com/repos/mercury-hpc/mercury/issues/187","repository_url":"https://api.github.com/repos/mercury-hpc/mercury","labels_url":"https://api.github.com/repos/mercury-hpc/mercury/issues/187/labels{/name}","comments_url":"https://api.github.com/repos/mercury-hpc/mercury/issues/187/comments","events_url":"https://api.github.com/repos/mercury-hpc/mercury/issues/187/events","html_url":"https://github.com/mercury-hpc/mercury/issues/187","id":269658336,"number":187,"title":"mechanism to set configuration options at run time (or init time)","user":{"login":"carns","id":5541937,"avatar_url":"https://avatars2.githubusercontent.com/u/5541937?v=4","gravatar_id":"","url":"https://api.github.com/users/carns","html_url":"https://github.com/carns","followers_url":"https://api.github.com/users/carns/followers","following_url":"https://api.github.com/users/carns/following{/other_user}","gists_url":"https://api.github.com/users/carns/gists{/gist_id}","starred_url":"https://api.github.com/users/carns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carns/subscriptions","organizations_url":"https://api.github.com/users/carns/orgs","repos_url":"https://api.github.com/users/carns/repos","events_url":"https://api.github.com/users/carns/events{/privacy}","received_events_url":"https://api.github.com/users/carns/received_events","type":"User","site_admin":false},"labels":[{"id":237563827,"url":"https://api.github.com/repos/mercury-hpc/mercury/labels/feature","name":"feature","color":"006b75","default":false},{"id":237563794,"url":"https://api.github.com/repos/mercury-hpc/mercury/labels/hg","name":"hg","color":"bfd4f2","default":false},{"id":237563806,"url":"https://api.github.com/repos/mercury-hpc/mercury/labels/minor","name":"minor","color":"ffffff","default":false},{"id":237563795,"url":"https://api.github.com/repos/mercury-hpc/mercury/labels/na","name":"na","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mercury-hpc/mercury/milestones/8","html_url":"https://github.com/mercury-hpc/mercury/milestone/8","labels_url":"https://api.github.com/repos/mercury-hpc/mercury/milestones/8/labels","id":1576694,"number":8,"title":"mercury-1.0.0","description":"### Features:\r\n * Full cancellation support","creator":{"login":"soumagne","id":5613371,"avatar_url":"https://avatars3.githubusercontent.com/u/5613371?v=4","gravatar_id":"","url":"https://api.github.com/users/soumagne","html_url":"https://github.com/soumagne","followers_url":"https://api.github.com/users/soumagne/followers","following_url":"https://api.github.com/users/soumagne/following{/other_user}","gists_url":"https://api.github.com/users/soumagne/gists{/gist_id}","starred_url":"https://api.github.com/users/soumagne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumagne/subscriptions","organizations_url":"https://api.github.com/users/soumagne/orgs","repos_url":"https://api.github.com/users/soumagne/repos","events_url":"https://api.github.com/users/soumagne/events{/privacy}","received_events_url":"https://api.github.com/users/soumagne/received_events","type":"User","site_admin":false},"open_issues":23,"closed_issues":25,"state":"open","created_at":"2016-02-10T23:23:55Z","updated_at":"2017-10-30T16:19:32Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-10-30T16:08:28Z","updated_at":"2017-10-31T04:42:04Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I would like to have an API mechanism to set optional configuration parameters at run time.\r\n\r\nExample: a hint telling Mercury to optimize for speed in cases where the caller does not intend to use timeouts in Progress() or Trigger(), by skipping retrieving the na-specific file descriptor that would be used for epoll().  Simply instantiating this fd (even if not used) appears to have significant overhead on some transports.\r\n\r\nAn option like this would have to be set before the na plugin is activated, but I don't see a way in the API to do this.  Should we have some sort of hint/param/info API in Mercury, or some way to pass string options to HG_Init() for this sort of thing?\r\n\r\nI can prototype what I want and have it triggered by environment variable, but that's kind of error-prone for long-term use."},"comment":{"url":"https://api.github.com/repos/mercury-hpc/mercury/issues/comments/340658262","html_url":"https://github.com/mercury-hpc/mercury/issues/187#issuecomment-340658262","issue_url":"https://api.github.com/repos/mercury-hpc/mercury/issues/187","id":340658262,"user":{"login":"soumagne","id":5613371,"avatar_url":"https://avatars3.githubusercontent.com/u/5613371?v=4","gravatar_id":"","url":"https://api.github.com/users/soumagne","html_url":"https://github.com/soumagne","followers_url":"https://api.github.com/users/soumagne/followers","following_url":"https://api.github.com/users/soumagne/following{/other_user}","gists_url":"https://api.github.com/users/soumagne/gists{/gist_id}","starred_url":"https://api.github.com/users/soumagne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soumagne/subscriptions","organizations_url":"https://api.github.com/users/soumagne/orgs","repos_url":"https://api.github.com/users/soumagne/repos","events_url":"https://api.github.com/users/soumagne/events{/privacy}","received_events_url":"https://api.github.com/users/soumagne/received_events","type":"User","site_admin":false},"created_at":"2017-10-31T04:42:04Z","updated_at":"2017-10-31T04:42:04Z","author_association":"OWNER","body":"Hmm yes we'll need to be careful about that. If max_contexts is 0, it would be simply ignored but other options should behave similarly so that ideally you can just memset the struct to 0 or we could have some initializer macro."}}
{"actor":{"display_login":"soumagne"}}