lemmy/ui
Riley a074564458
Federation async (#848)
* Asyncify more

* I guess these changed

* Clean PR a bit

* Convert more away from failure error

* config changes for testing federation

* It was DNS

So actix-web's client relies on TRust DNS Resolver to figure out
where to send data, but TRust DNS Resolver seems to not play nice
with docker, which expressed itself as not resolving the name to
an IP address _the first time_ when making a request. The fix was
literally to make the request again (which I limited to 3 times
total, and not exceeding the request timeout in total)

* Only retry for connecterror

Since TRust DNS Resolver was causing ConnectError::Timeout,
this change limits the retry to only this error, returning
immediately for any other error

* Use http sig norm 0.4.0-alpha for actix-web 3.0 support

* Blocking function, retry http requests

* cargo +nightly fmt

* Only create one pictrs dir

* Don't yarn build

* cargo +nightly fmt
2020-07-01 08:54:29 -04:00
..
assets Upgrading litely to have better vote colors. 2020-06-24 13:29:13 -04:00
src Federation async (#848) 2020-07-01 08:54:29 -04:00
translations Translated using Weblate (Hungarian) 2020-06-26 22:42:45 +00:00
.eslintignore Adding a test bed for API testing. #658 2020-04-23 11:34:32 -04:00
.eslintrc.json Notification improvements. 2020-03-20 16:13:54 -04:00
.gitignore Cleanup gitignore and dockerignore files 2020-03-12 20:25:14 +01:00
.prettierrc.js Adding prettier. 2019-10-18 17:00:26 -07:00
fuse.js Fix fuse.js 2019-12-29 16:06:04 -05:00
generate_translations.js generate typescript during compilation 2020-02-29 19:16:23 +01:00
jest.config.js Lots of additions to federation. 2020-04-27 12:57:00 -04:00
package.json Adding a test bed for API testing. #658 2020-04-23 11:34:32 -04:00
tsconfig.json Upgrade package.json. 2020-01-06 11:22:51 -05:00
yarn.lock Adding a test bed for API testing. #658 2020-04-23 11:34:32 -04:00