Re-aligning meta

- Rename archive_update_interval
 - Roll back overscoped multiple source/admin users support placeholder
 - Point app.json to persist-cloudinary branch
This commit is contained in:
Joel McCoy
2015-02-11 15:56:40 -05:00
parent a16cd90fe8
commit f890f0c8e2
3 changed files with 8 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
{ {
"name": "BooDooBooks", "name": "BooDooBooks",
"description": "Turn-key _ebooks deployment using twitter_ebooks", "description": "Turn-key _ebooks deployment using twitter_ebooks",
"repository": "https://github.com/BooDoo/ebooks_example/tree/deploy", "repository": "https://github.com/BooDoo/ebooks_example/tree/persist-ckoudinary",
"keywords": [ "keywords": [
"twitter", "twitter",
"bot", "bot",
@@ -14,11 +14,11 @@
"env": { "env": {
"LANG": "en_US.UTF-8", "LANG": "en_US.UTF-8",
"BOT_NAME": "", "BOT_NAME": "",
"OWNER_ACCOUNTS": { "OWNER_ACCOUNT": {
"required": false, "required": false,
"value": "" "value": ""
}, },
"SOURCE_USERNAMES": { "SOURCE_USERNAME": {
"required": false, "required": false,
"value": "" "value": ""
}, },
@@ -59,6 +59,7 @@
}, },
"TIMEOUT_SLEEP": "5", "TIMEOUT_SLEEP": "5",
"MAX_ERROR_RETRIES": "10", "MAX_ERROR_RETRIES": "10",
"UPDATE_FOLLOWS_INTERVAL": "90m" "UPDATE_FOLLOWS_INTERVAL": "90m",
"UPDATE_ARCHIVE_INTERVAL": "8h"
} }
} }

View File

@@ -5,7 +5,7 @@ require 'dotenv'
include Ebooks::Boodoo include Ebooks::Boodoo
# Read defaults and lay env vars on top: # Read defaults and lay env vars on top:
SETTINGS = Dotenv.load('secrets.env').merge(ENV) SETTINGS = Dotenv.load('defaults.env').merge(ENV)
# Information about a particular Twitter user we know # Information about a particular Twitter user we know
class UserInfo class UserInfo
@@ -104,7 +104,7 @@ class BoodooBot
follow_parity follow_parity
end end
scheduler.interval @refresh_model_interval do scheduler.interval @update_archive_interval do
log "Refreshing archive/model..." log "Refreshing archive/model..."
# update_archive! # update_archive!
# make_model! # make_model!

View File

@@ -17,4 +17,4 @@ TIMELINE_DELAY=10..600
TIMEOUT_SLEEP=5 TIMEOUT_SLEEP=5
MAX_ERROR_RETRIES=10 MAX_ERROR_RETRIES=10
UPDATE_FOLLOWS_INTERVAL=90m UPDATE_FOLLOWS_INTERVAL=90m
REFRESH_MODEL_INTERVAL=8h UPDATE_ARCHIVE_INTERVAL=8h