TeamPass icon indicating copy to clipboard operation
TeamPass copied to clipboard

Slow processing of an item creation task

Open manevasolucionesinformaticas opened this issue 9 months ago • 4 comments

When creating an item, the ShareKey bell appears, and it takes a long time to process the task. I've found the encryption to be fast (less than 1 ms).

My understanding (just from observing the tasks in my instance) is that some of the tasks are performed over multiple runs. So to create a new item, it needs the task scheduler to complete 3 or 4 times. What is the schedule of your tasks? Mine runs every minute, so adding a new item or user takes 3-4 minutes to complete (for example, I can see it complete 33% first run, then 66% second run, etc). I'm sure somebody else can confirm if this is correct or not, it's just what I've seen in my environment.

DaveWebb2 avatar Mar 27 '25 08:03 DaveWebb2

Hello. I'm facing the same problem in teampass version 3.1.4.9, the item creation task is taking about 2 minutes per item, but in previous versions this creation was almost instantaneous. Does anyone know if there has been any change in this task in the latest versions?

stephan115 avatar Mar 27 '25 14:03 stephan115

@nilsteampassnet would need to confirm the expected behaviour of the creation process, but maybe as a workaround you could increase the frequency of your cron job? My cron job runs every minute, but I'm not using v3 in production yet, so could easily change it to run every 10 seconds or so.

DaveWebb2 avatar Apr 15 '25 07:04 DaveWebb2

+1

Gourds avatar Jul 22 '25 02:07 Gourds