{"action":"created","issue":{"url":"https://api.github.com/repos/google/identity-toolkit-python-client/issues/7","labels_url":"https://api.github.com/repos/google/identity-toolkit-python-client/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/google/identity-toolkit-python-client/issues/7/comments","events_url":"https://api.github.com/repos/google/identity-toolkit-python-client/issues/7/events","html_url":"https://github.com/google/identity-toolkit-python-client/issues/7","id":106712552,"number":7,"title":"Sometimes VerifyGitkitToken response is very slow","user":{"login":"alexodus","id":2721510,"avatar_url":"https://avatars.githubusercontent.com/u/2721510?v=3","gravatar_id":"","url":"https://api.github.com/users/alexodus","html_url":"https://github.com/alexodus","followers_url":"https://api.github.com/users/alexodus/followers","following_url":"https://api.github.com/users/alexodus/following{/other_user}","gists_url":"https://api.github.com/users/alexodus/gists{/gist_id}","starred_url":"https://api.github.com/users/alexodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexodus/subscriptions","organizations_url":"https://api.github.com/users/alexodus/orgs","repos_url":"https://api.github.com/users/alexodus/repos","events_url":"https://api.github.com/users/alexodus/events{/privacy}","received_events_url":"https://api.github.com/users/alexodus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-16T07:02:50Z","updated_at":"2015-09-17T16:51:31Z","closed_at":null,"body":"usually is near 1 seconds (1.2-1.4), but sometimes the delay is very very long (and always 128seconds)"},"comment":{"url":"https://api.github.com/repos/google/identity-toolkit-python-client/issues/comments/141146134","html_url":"https://github.com/google/identity-toolkit-python-client/issues/7#issuecomment-141146134","issue_url":"https://api.github.com/repos/google/identity-toolkit-python-client/issues/7","id":141146134,"user":{"login":"alexodus","id":2721510,"avatar_url":"https://avatars.githubusercontent.com/u/2721510?v=3","gravatar_id":"","url":"https://api.github.com/users/alexodus","html_url":"https://github.com/alexodus","followers_url":"https://api.github.com/users/alexodus/followers","following_url":"https://api.github.com/users/alexodus/following{/other_user}","gists_url":"https://api.github.com/users/alexodus/gists{/gist_id}","starred_url":"https://api.github.com/users/alexodus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexodus/subscriptions","organizations_url":"https://api.github.com/users/alexodus/orgs","repos_url":"https://api.github.com/users/alexodus/repos","events_url":"https://api.github.com/users/alexodus/events{/privacy}","received_events_url":"https://api.github.com/users/alexodus/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T16:51:31Z","updated_at":"2015-09-17T16:51:31Z","body":"this is the script\r\n===============\r\nimport os\r\nimport sys\r\nimport datetime\r\n\r\n# Import the helper functions\r\nfrom identitytoolkit import gitkitclient\r\n\r\n\r\n# Import the configuration file you downloaded from Google Developer Console\r\nserver_config_json = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'gitkit-server-config.json')\r\ngitkit_instance = gitkitclient.GitkitClient.FromConfigFile(\r\n    server_config_json)\r\n\r\nif __name__ == \"__main__\":\r\n        idToken = sys.argv[1]\r\n        start = datetime.datetime.now()\r\n        print(\"start\")\r\n        gitkit_user = gitkit_instance.VerifyGitkitToken(idToken)\r\n        end = datetime.datetime.now()\r\n        print(\"VerifyGitkitToken time = %f\"% ((end-start).total_seconds()))"}}