Colin Darie
d56b63bc90
Merge pull request #11119 from demarches-simplifiees/fix_crazy_cron
...
Correction du bug qui envoyait une notification de suppression pour des dossiers déjà supprimés
2024-12-09 08:43:40 +00:00
Mathieu Magnin
bfe138fe1a
Change cron hour to avoid race condition with NotifyOldBrouillonDossiersSoonDeletedJob
2024-12-06 17:07:31 +01:00
Mathieu Magnin
5555da2f90
Rename purge => hide
2024-12-06 16:34:21 +01:00
Mathieu Magnin
760963a52d
Do not hide not notified dossier
2024-12-06 16:33:33 +01:00
Mathieu Magnin
53ce0e05f6
Do not notify not visible dossiers
2024-12-06 16:14:56 +01:00
Colin Darie
a400045964
refactor(etablissement): update champ value json address from model
2024-12-06 14:39:37 +01:00
Mathieu Magnin
39baa5aae1
[ #10951 ] fixes after review
2024-12-03 10:29:21 +01:00
Mathieu Magnin
5ab0899a49
[ #10951 ] Create a cron job to warn user that old brouillon is deleted
2024-12-03 10:29:21 +01:00
Mathieu Magnin
38e9ca4979
[ #10951 ] Create a cron job to warn user with a old brouillon
2024-12-03 10:29:21 +01:00
mfo
babdf9536f
fix(auto_archive_procedure_job): AutoArchiveProcedureJob may take longer than its cron delay [everyminutes], when it takes more than one minute, we re-enqueue the same mails
2024-11-18 12:49:05 +01:00
Paul Chavard
a9bb228f8e
fix(image_processor): discard job on known errors
2024-11-06 15:03:50 +01:00
Paul Chavard
f88de46d8d
fix(image_processor): a blob can be deleted at any time while processing
2024-11-06 11:59:25 +01:00
Colin Darie
2656ec18af
chore(image): ignore invalid images files / formats
2024-11-05 16:57:16 +01:00
Colin Darie
eaa3350b77
feat(contact): delete contact forms when max attempts has been reached
2024-10-23 17:05:27 +02:00
Colin Darie
4b48ee02cd
fix(helpscout): limit retries to a few hours
2024-10-23 16:58:15 +02:00
Colin Darie
84ae13eb6b
fix(helpscout): don't create conversation with an empty attachment
2024-10-23 16:57:54 +02:00
Paul Chavard
d13c475170
fix(api_entreprise): better handle api entreprise errors
2024-10-15 15:24:37 +02:00
Colin Darie
111ebbf20a
Merge pull request #10910 from colinux/fix-image-process-job-queue
...
ETQ opérateur, je ne veux pas que la génération de vignettes et filigranes impactent trop d'autres jobs
2024-10-10 15:24:12 +00:00
Colin Darie
0e5d77f15b
fix(job): image process => low queue
2024-10-10 17:14:57 +02:00
Colin Darie
7f18db6c91
fix(job): non crirtical mail must be sent into < 15min, not hours
2024-10-10 17:14:28 +02:00
mfo
eee9efd52e
Merge pull request #10907 from mfo/reschedule_dossier_operation_log_move_to_cold_storage_job
...
ETQ tech, je souhaite que les jobs asynchrone pour deplacer les objets dans le stockage à froid se fassent en pleinne nuit
2024-10-10 09:33:43 +00:00
Colin Darie
c48ad8c003
fix(job): missed changed queues
2024-10-10 11:24:01 +02:00
mfo
d729c2f193
tech(perf): reschedule this job at 4am when our workers does not do anything
2024-10-10 11:21:05 +02:00
mfo
fc37bbaa4a
Merge pull request #10906 from mfo/US/reword-queueing
...
amelioration : ETQ operateur j'aimerais simplifier/optimiser la gestion des tâches asynchrones
2024-10-10 07:47:59 +00:00
mfo
b8b727f06b
feat(default.queues): mailers that are not critical are low, otherwise critical. analysis is default, purge is low
2024-10-10 09:31:20 +02:00
mfo
02590b3a73
Revert "clean(delayed_jobs): remove dependencies and all occurences"
...
This reverts commit 90ca937b7131575816d72e35e2c48f9d82e9a5e6.
ReRevert me in order to remove all delayed job occurences. But we keep
this dependencie for our instances at least for a year
2024-10-08 16:44:09 +02:00
mfo
5eec93bc8c
clean(delayed_jobs): remove dependencies and all occurences
2024-10-08 16:43:57 +02:00
mfo
ab8ac78ccb
tech(sidekiq): use sidekiq by default, clean transition code
2024-10-08 16:43:57 +02:00
mfo
afe98704e9
feat(async): re-order priority jobs
2024-09-24 21:35:00 +02:00
mfo
08ec45443d
BREAKING(sidekiq.queues): rationalize queues. now have critical, default, low
...
Dear instances, make sure to update your sidekiq processes. Indead, we are adopting a new strategy for daemons that process our background
jobs.
Now their is only 3 queues on sidekiq (still, we keep archive/export on delayed job for now).
The big idea : allow any worker to deal with any queue (capacity mgmt) :
- critical: must be procesed now
- default: will be processed asap
- low: do it after everything else
FYI: we had 50% of our server capacity on reserved queues. Leading to
bottle neck processing (reserved queues/worker not processing other
queues). We HAD TO fix it. Sorry for the inconvenience
TBH, this is an idea of Colin Darie <colin@darie.eu>. I'm just pushing
it forward.
Co-Authored-By: Colin Darie <colin@darie.eu>
2024-09-24 21:29:11 +02:00
mfo
ee19268720
fix(typo): mailerS
2024-09-24 11:24:02 +02:00
mfo
0cfa9d6719
fix(batch): this is a hotfix, please be nice we just want to allow our
...
infra to deal with BatchOperation when their is a big load
2024-09-24 09:34:37 +02:00
Eric Leroy-Terquem
37a018880b
chore: generate representations coming from ActionText in background
2024-08-30 16:37:19 +02:00
Eric Leroy-Terquem
0511a84abf
chore: move uninterlace to image processor job
2024-08-30 14:28:43 +02:00
Colin Darie
77fb0553fc
chore: enable freeze string literals by comment
2024-08-22 09:26:48 +02:00
Colin Darie
c2159ca0bf
fix(contact): allow deletion of contact form of users having dossiers
2024-08-01 19:44:44 +02:00
Colin Darie
3469527637
fix(contact): use user email when no email was specified
2024-08-01 16:43:28 +02:00
Colin Darie
5af32b46f4
refactor(contact): form is persisted in db before pushed to HS
2024-07-31 17:08:01 +02:00
Colin Darie
ff62e99e7b
refactor(contact): suggest email correction, strict email validation, fix admin form
2024-07-31 11:23:17 +02:00
Paul Chavard
229483d16c
refactor(champ): remove type_de_champ_id and champ factories
2024-07-22 13:53:45 +02:00
simon lehericey
7c1b26930b
tech: move cron tab to specific time
2024-06-21 17:15:01 +02:00
Colin Darie
a1469b04fe
refactor(support): create HS conversation in async and run virus scanner on attachments
2024-06-13 13:27:51 +02:00
Eric Leroy-Terquem
f6e54a540b
chore(gallery): add activestorage error catching in job
2024-06-06 12:01:42 +02:00
Eric Leroy-Terquem
05ad5dcbd6
feat(gallery): display large variant for rare image types
2024-06-06 12:01:40 +02:00
simon lehericey
bcf3c0ff34
fix(jobs): fix default bulk_email_queue name
2024-05-30 10:24:52 +02:00
Colin Darie
eaf9773e9e
chore(job): DossierIndexSearchTerms in low_priority queue
2024-05-27 09:55:24 +02:00
Colin Darie
c2b1d7aaaf
Merge pull request #10261 from colinux/ignore-search-terms-2
...
Tech (perf): ignore les `search_terms` colonnes pour ne plus les select à chaque query et debounce l'indexation
2024-05-21 07:07:10 +00:00
Lisa Durand
affb1820d8
add PDF preview in view for gallery
2024-05-17 11:03:39 +02:00
Lisa Durand
93c3761107
add specs
2024-05-17 11:03:39 +02:00
Lisa Durand
b4a7b4bfbd
create a job for all image treatments
2024-05-17 11:03:38 +02:00