Skip to content

Conversation

@absidue
Copy link
Member

@absidue absidue commented Jun 2, 2024

Remove unused database compacting IPC channel

Pull Request Type

  • Cleanup

Description

As we only call the methods to compact the datastores in Electron's main process, this pull request move the compaction code into the compactAllDatastores function, removes the persist methods in the datastores and removes the now unused IPC code.

Testing

If you want you can test that the databases still get compacted when the app closes.

Desktop

  • OS:
  • OS Version:
  • FreeTube version: 0b62ea7

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) June 2, 2024 16:42
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 2, 2024
@FreeTubeBot FreeTubeBot merged commit fcc36f9 into FreeTubeApp:development Jun 3, 2024
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Jun 3, 2024
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Jun 3, 2024
* development: (36 commits)
  Remove unused database compacting IPC channel (FreeTubeApp#5212)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Portuguese)
  Translated using Weblate (Finnish)
  Compressed Images (FreeTubeApp#5209)
  Cleanup unused channel hiding code in ft-list-video-numbered (FreeTubeApp#5208)
  Translated using Weblate (Serbian)
  Hide recommendations from the Watch component, instead of hiding itself (FreeTubeApp#5203)
  Consolidate clear subscriptions cache into one mutation (FreeTubeApp#5202)
  Translated using Weblate (Spanish)
  Translated using Weblate (French)
  Translated using Weblate (German)
  Translated using Weblate (Polish)
  Translated using Weblate (Turkish)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Croatian)
  Store comment reply tokens separately to avoid reactivity (FreeTubeApp#5190)
  Translated using Weblate (Croatian)
  Translated using Weblate (German)
  Translated using Weblate (Czech)
  ...

# Conflicts:
#	src/datastores/handlers/base.js
#	src/renderer/store/modules/subscriptions.js
@absidue absidue deleted the remove-persist-ipc-channel branch June 3, 2024 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants