> @@ -78,7 +81,7 @@ protected void configure() {
>        // bit before the deadline to make sure there aren't session 
> expiration exceptions
>        sessionIntervalInSeconds = sessionIntervalInSeconds > 30 ? 
> sessionIntervalInSeconds - 30 :
>                sessionIntervalInSeconds;
> -      return 
> CacheBuilder.newBuilder().expireAfterWrite(sessionIntervalInSeconds, 
> TimeUnit.MINUTES).build(CacheLoader
> +      return 
> CacheBuilder.newBuilder().expireAfterWrite(sessionIntervalInSeconds, 
> TimeUnit.SECONDS).build(CacheLoader

All the OAuth usages so far (precisely 1) use 3600 seconds as the expiry time, 
so I think the intention was to make that a global default.  However it appears 
to have been fat-fingered and 3600 minutes used instead.  This fixes that, and 
I've confirmed that it causes the GCE ComputeService no longer to fail after 1h.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/14/files#r7588200

Reply via email to