mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-14 16:51:15 +10:00
chore: remove fsbackend console logs
This commit is contained in:
@ -145,8 +145,6 @@ export class FsObjectBackend extends ObjectBackend {
|
|||||||
obj.pipe(hash);
|
obj.pipe(hash);
|
||||||
await objEnd;
|
await objEnd;
|
||||||
|
|
||||||
console.log("object hash: ", hashResult);
|
|
||||||
|
|
||||||
// if hash isn't a string somehow, mark as unknown hash
|
// if hash isn't a string somehow, mark as unknown hash
|
||||||
if (typeof hashResult !== "string") {
|
if (typeof hashResult !== "string") {
|
||||||
return undefined;
|
return undefined;
|
||||||
@ -167,7 +165,6 @@ class FsHashStore {
|
|||||||
async get(id: ObjectReference) {
|
async get(id: ObjectReference) {
|
||||||
const cacheRes = await this.cache.get(id);
|
const cacheRes = await this.cache.get(id);
|
||||||
if (cacheRes !== null) {
|
if (cacheRes !== null) {
|
||||||
console.log("object cache hit");
|
|
||||||
return cacheRes;
|
return cacheRes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user