Skip to content

Conversation

@ArtificialOwl
Copy link
Member

@ArtificialOwl ArtificialOwl commented Oct 24, 2025

reworking the index lock feature.

  • remove 'ticks' table
  • generate unique lock id to the process/session
  • store/read lock_id and lock_ping in appconfig

the index lock feature ensure only one single index run, with no others at the same time

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
@ArtificialOwl ArtificialOwl force-pushed the feat/noid/lock-via-appconfig branch from c1c4472 to b3877c2 Compare October 24, 2025 21:43
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
@ArtificialOwl ArtificialOwl force-pushed the feat/noid/lock-via-appconfig branch from f855a7c to 246bfd3 Compare October 28, 2025 18:13
use OCA\FullTextSearch\AppInfo\Application;
use OCA\FullTextSearch\ConfigLexicon;
use OCA\FullTextSearch\Exceptions\LockException;
use OCP\IAppConfig;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this use IAppConfig from AppFramework?

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.

3 participants