diff options
author | Allan Wang <me@allanwang.ca> | 2019-01-04 13:32:58 -0500 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-01-04 13:32:58 -0500 |
commit | 535004b8a28d1b227fa0673f80f6086ca8f4be41 (patch) | |
tree | 9a26f6ebbe65572e4098dbaafca6d1e7b5efe6a0 /app/src/main/kotlin/com/pitchedapps/frost/facebook/requests | |
parent | 9bd77fa983dda0054a1795b2c91f261a491a53c5 (diff) | |
download | frost-535004b8a28d1b227fa0673f80f6086ca8f4be41.tar.gz frost-535004b8a28d1b227fa0673f80f6086ca8f4be41.tar.bz2 frost-535004b8a28d1b227fa0673f80f6086ca8f4be41.zip |
Fix flyweight tests
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps/frost/facebook/requests')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt index 16ddb7e1..67a03ad4 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/requests/FbRequest.kt @@ -40,7 +40,7 @@ import java.lang.Exception /** * Created by Allan Wang on 21/12/17. */ -val fbAuth = Flyweight<String, RequestAuth>(GlobalScope, 100, 3600000 /* an hour */) { +val fbAuth = Flyweight<String, RequestAuth>(GlobalScope, 3600000 /* an hour */) { it.getAuth() } |