Skip to content

Commit 2b7b512

Browse files
Disable rate limit protection because the integration tests do trigger them
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
1 parent eeac257 commit 2b7b512

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.drone.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ services:
113113
- su www-data -c "php /var/www/html/occ app:enable -f files_downloadlimit"
114114
- su www-data -c "git clone --depth 1 -b master https://github.com/nextcloud/recommendations.git /var/www/html/apps/recommendations/"
115115
- su www-data -c "php /var/www/html/occ app:enable -f recommendations"
116+
- su www-data -c "php /var/www/html/occ config:system:set ratelimit.protection.enabled --value false --type bool"
116117
- /usr/local/bin/run.sh
117118

118119
trigger:
@@ -232,6 +233,7 @@ services:
232233
- su www-data -c "php /var/www/html/occ app:enable -f files_downloadlimit"
233234
- su www-data -c "git clone --depth 1 -b $SERVER_VERSION https://github.com/nextcloud/recommendations.git /var/www/html/apps/recommendations/"
234235
- su www-data -c "php /var/www/html/occ app:enable recommendations"
236+
- su www-data -c "php /var/www/html/occ config:system:set ratelimit.protection.enabled --value false --type bool"
235237
- /usr/local/bin/run.sh
236238

237239
trigger:
@@ -243,6 +245,6 @@ trigger:
243245
- pull_request
244246
---
245247
kind: signature
246-
hmac: f9e2219ba5004d6abb6eb04ede0dedf0b9d5f20d8769228c1e48a09451a54b06
248+
hmac: 4d9e2296a2418db6dae22e94c282a4b356788d99c268d722721dddddd35f43b3
247249

248250
...

0 commit comments

Comments
 (0)