a122f72af7
Fully migrated to jsonb, adjusted uniquefifo to keep cache fresh
...
* Added fifo mechanism to actors table
* Increased fifo size to 10
* Still getting some database insert duplicate errors, but only for
very active instances when they are newly identified
2021-02-02 23:34:43 +00:00
7e71d0cc7a
Installed recent requests structure to prevent repeat requests
...
Default size is 5
Only targets posts, not users
2021-02-01 00:28:20 +00:00
cd8ecce807
Added proxy support
...
Some IPv6 traffic still sending directly to instance
not sure why not
2021-01-30 07:12:37 +00:00
1f3cbe8bde
Isolated BuildClient from GetRunner
...
Now there is a single place where new clients are built
2021-01-30 05:54:03 +00:00
96e47f0373
Removing GetHTTPSession for GetRunner
2021-01-29 17:44:16 -05:00
4706bce7e3
hardcoded user-agent as tusky + added a DoTries()
2021-01-25 21:06:47 -05:00
9d2601e6c9
Replaces <br> tags with spaces
2021-01-14 20:43:20 +00:00
1adaba8322
retrying connections + logging prefix
...
this is because some hosting providers throttle rapid new connections
regex additions
2021-01-14 19:51:42 +00:00
ec1743905a
validating hostname before starting instance
...
changed hostname identification from account to URI
2021-01-10 05:31:51 +00:00
d02ae808a1
reducing potential keep-alive connections to 1 per hostname (not per IP)
2021-01-02 07:00:21 +00:00
85e0735fa3
go fmt'ed
2020-12-29 20:20:02 +00:00
5473052519
changed comments, made streaming in a loop
2020-12-29 16:38:14 +00:00
88c074f76b
reduced the number of new connections to 1, reduce spamming servers
...
set keep-alive to 2 hours
probably a bunch of regressions but I don't have unit tests yet
2020-12-25 05:18:42 +00:00
9db3c05ed6
few bugs
2020-12-23 08:20:03 +00:00
777120518a
removed dead code + channel
...
ctl is broken
2020-12-22 20:36:37 +00:00
ad9fe9fad2
checking user and made 'pool' global
2020-12-18 06:06:32 +00:00
5bc9a68d53
web feature fetching user icon
...
adding database pool to all functions to verify before fetching
2020-12-17 18:26:55 +00:00
726ac7e0bd
formatting and linting
2020-12-17 04:23:25 +00:00
cc020bb6f0
Merged the two directories, no need to keep them separate
2020-12-17 01:37:34 +00:00