lemmy/server
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
..
config Merge branch 'master' into federation 2020-06-27 10:54:08 -04:00
migrations Some fixes to federation. 2020-06-26 21:12:41 -04:00
migrations_testing/2020-01-13-025151_create_materialized_views A first pass at using materialized views. 2020-01-13 20:02:02 -05:00
query_testing Add apache benchmark installation check 2020-04-15 13:52:46 -04:00
src Federation async (#848) 2020-07-01 08:54:29 -04:00
.gitignore A first pass at using materialized views. 2020-01-13 20:02:02 -05:00
.rustfmt.toml Rework imports 2020-05-16 20:04:17 +02:00
Cargo.lock Federation async (#848) 2020-07-01 08:54:29 -04:00
Cargo.toml Federation async (#848) 2020-07-01 08:54:29 -04:00
clean.sh Adding cargo outdated to clean script. 2020-01-03 23:39:31 -05:00
db-init.sh Improve shell scripts (#705) 2020-05-11 13:16:08 -04:00
diesel.toml Starting to work on Rust Diesel Schema. #5 2019-02-27 22:02:55 -08:00