summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 19:26:07 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-04-24 19:26:07 -0300
commitc7935dcfaec18f4628101268b13b9509b6b412ba (patch)
tree949914b5d99ee65fd53d3a5578508dc215be5163
parent9bdde5796a6e6ed56a29865b19a910bdea5d078e (diff)
downloadgitlab-ce-c7935dcfaec18f4628101268b13b9509b6b412ba.tar.gz
Does not freeze integer values
-rw-r--r--lib/github/rate_limit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/github/rate_limit.rb b/lib/github/rate_limit.rb
index 9dbdf2f4c68..38beb617173 100644
--- a/lib/github/rate_limit.rb
+++ b/lib/github/rate_limit.rb
@@ -1,7 +1,7 @@
module Github
class RateLimit
- SAFE_REMAINING_REQUESTS = 100.freeze
- SAFE_RESET_TIME = 500.freeze
+ SAFE_REMAINING_REQUESTS = 100
+ SAFE_RESET_TIME = 500
attr_reader :connection