File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 374
374
# in OSM website
375
375
OAUTH_REDIRECT_URI = env (
376
376
'OAUTH_REDIRECT_URI' ,
377
- default = 'http://127.0.0.1:3000/oauth-landing.html '
377
+ default = 'http://127.0.0.1:3000/authorized '
378
378
)
379
379
380
380
OSMCHA_URL = env ('OSMCHA_URL' , default = 'https://osmcha.org' )
Original file line number Diff line number Diff line change 99
99
100
100
# Your production stuff: Below this line define 3rd party library settings
101
101
102
- CELERYBEAT_SCHEDULE = {
103
- 'schedule-name' : {
104
- 'task' : 'osmchadjango.changeset.tasks.fetch_latest' ,
105
- 'schedule' : 60 #Run every 60 seconds
106
- },
107
- }
108
-
109
102
REST_FRAMEWORK = {
110
103
'DEFAULT_AUTHENTICATION_CLASSES' : (
111
104
'rest_framework.authentication.TokenAuthentication' ,
123
116
'DEFAULT_THROTTLE_RATES' : {
124
117
'anon' : env ('ANON_USER_THROTTLE_RATE' , default = '30/min' ),
125
118
'user' : env ('COMMON_USER_THROTTLE_RATE' , default = '180/min' ),
126
- 'non_staff_user' : env ('NON_STAFF_USER_THROTTLE_RATE' , default = '3 /min' )
119
+ 'non_staff_user' : env ('NON_STAFF_USER_THROTTLE_RATE' , default = '5 /min' )
127
120
},
128
121
'ORDERING_PARAM' : 'order_by' ,
129
122
}
You can’t perform that action at this time.
0 commit comments