We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b54bbc commit 0716b0fCopy full SHA for 0716b0f
1 file changed
pixie-server/src/state/images.rs
@@ -28,12 +28,6 @@ impl State {
28
29
/// Store the given chunk to the database.
30
pub fn add_chunk(&self, data: &[u8]) -> Result<()> {
31
- ensure!(
32
- data.len() <= pixie_shared::MAX_CHUNK_SIZE,
33
- "Chunk size is too big: {}",
34
- data.len()
35
- );
36
-
37
let mut res = Ok(());
38
let hash = *blake3::hash(data).as_bytes();
39
let path = self.storage_dir.join(CHUNKS_DIR).join(hex::encode(hash));
0 commit comments