aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings.yml.example
blob: e2adfbe090538ef4ce568949efc6848bb076fb3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
default: &default
  base_url:           "http://example.com/" # base url
  consumer:
    key:              "consumer key of collector (register)"
    secret:           "consumer secret"

  collector:
    proxy_host:       localhost
    proxy_port:       42107
    secret_key:       "secret key to authorize workers"
    flush_interval:   3

  notification:
    enabled:          false
    consumer:
      key:            "consumer key of notification account"
      secret:         "consumer secret"
    accounts:
      - token:        "access token of notification account"
        secret:       "access token secret"
    favorites:
      - 50
      - 100
      - 250

  tweets:
    count:
      default:        10
      max:            100
    favorites:
      default:        20
      max:            null

  users:
    count:            50

  cache:
    expires_in:       900
    stats:            900 # sec
    friends:          3600
    memcached:        "127.0.0.1:11211"

development:
  <<: *default

test:
  <<: *default
  consumer:
    key:              "JVkX2Uy0Qtigsh0GiG5Lw"
    secret:           "vfkPvOkzKUGuZ4xKtFAVvlAKoL3u2grxchuQEBvE"

  collector:
    server_port:      42106
    secret_key:       "secret"
    nodes_count:      1

production:
  <<: *default