mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
fix(gifs): fetch featured category previews concurrently (#3117)
This commit is contained in:
1 parent
237aff666d
commit
87df92e2c2
4 files changed
+115
-26
No files matched your search
@@ -17,7 +17,7 @@ use tokio::sync::{Semaphore, TryAcquireError};
|
||||
use tokio::task::JoinSet;
|
||||
use tracing::{debug, info, warn};
|
||||
|
||||
pub(crate) const SHARD_REQUEST_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
pub const SHARD_REQUEST_TIMEOUT: Duration = Duration::from_secs(5);
|
||||
const MAX_BROADCAST_CONCURRENCY: usize = 32;
|
||||
const MAX_ROUTER_REQUEST_BYTES: usize = 2 * 1024 * 1024;
|
||||
const LEGACY_SHARD_DECODE_ERROR: &[u8] = br#"{"error":"shard_request_decode_error"}"#;
|
||||
|
||||
Reference in new issue
Block a user