summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rwxr-xr-xmain.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index 55622d0..c57ad7a 100755
--- a/main.go
+++ b/main.go
@@ -17,6 +17,10 @@ func main() {
app.ExecuteConfig()
static.CopyTemplatesToMemory()
+ // Rate/concurrency-limit + time-out outbound DeviantArt requests so bot floods
+ // can't exhaust the process or get our egress IP banned by CloudFront/WAF.
+ app.InstallDAThrottle()
+
go func() {
for {
err := devianter.UpdateCSRF()