Replies: 9 comments
-
I don't mind making some sort of script that trims the fat from the folder however, people will need to collate the list of resources that are safe to delete. Most of the space is taken by the The cache includes things like the loading animation and the js/css/html resources for WA WEB which are served via the service worker. The service worker is bypassed anyways so the cache can theoretically be cleared. |
Beta Was this translation helpful? Give feedback.
-
This line forces the cache to stay enabled (default). Will test by removing this |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
@MarcosDLR MD sessions reauthenticate just fine without forcing the cache to be enabled. I will remove the if statement in the above mentioned line. This should disable the cache. Not sure if this will prevent the storage increase over time but lets try. |
Beta Was this translation helpful? Give feedback.
-
@github-actions run ⚡ Release! ⚡(async () => {
function exec(cmd) {
console.log(execSync(cmd).toString());
}
//set the version type
process.env.VERS = "patch"
// Config
const gitUserEmail = "github-actions[bot]@users.noreply.github.com";
const gitUserName = "github-actions[bot]";
exec(`echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc`);
exec(`git config --global user.email "${gitUserEmail}"`);
exec(`git config --global user.name "${gitUserName}"`);
exec(`npm i -D`);
exec(`npm run release-ci $VERS`);
// types only package
exec('npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN')
exec(`cd ./types-only && npm version $VERS && npm run build && npm publish && cd ..`);
exec(`git commit -a -m 'updated types-only package'`);
exec(`git push --force`);
//comment on the issue
var result = execSync(`npx auto-changelog -o ./tempchangelog.txt --commit-limit false --template ./compact-keepachangelog.hbs --stdout`).toString();
await postComment(result);
//create changelog image
exec(`npm run release-image`);
exec(`git commit -a -m 'updated release-image'`);
exec(`git push --force`);
})(); |
Beta Was this translation helpful? Give feedback.
-
Changelog🚀 Release 4.32.8 (2022-03-15)
|
Beta Was this translation helpful? Give feedback.
-
Hello again, sorry for the inconvenience. With the latest update the cache is resolved but the \Default\IndexedDB\https_web.whatsapp.com_0.indexeddb.leveldb folder grows exponentially. This creates .ldb and .log files. |
Beta Was this translation helpful? Give feedback.
-
@MarcosDLR can you delete the folder, re scan and track the growth over time with exact numbers please. |
Beta Was this translation helpful? Give feedback.
-
After 10 minutes the file grew 1,449 kb, this was with 90 messages received, but the file grows even without sending or receiving messages. The file grows depending on the type of message. After several days this becomes a considerable consumption of space depending on the flow of messages. |
Beta Was this translation helpful? Give feedback.
-
Hello.
I know this is not a bug, I would just like information regarding the following:
When I connect the phone number a folder with the name of the session is created, this folder grows as time goes by and disk space is affected. Is there any way to prevent this ?
Beta Was this translation helpful? Give feedback.
All reactions