comparison OrthancServer/Sources/ServerIndex.cpp @ 5817:272b0d0eef38 find-refactoring tip

ReadOnly mode continued
author Alain Mazy <am@orthanc.team>
date Thu, 26 Sep 2024 17:23:43 +0200
parents 09e337d45d22
children
comparison
equal deleted inserted replaced
5805:8a8756b2dd0b 5817:272b0d0eef38
350 bool readOnly) : 350 bool readOnly) :
351 StatelessDatabaseOperations(db, readOnly), 351 StatelessDatabaseOperations(db, readOnly),
352 done_(false), 352 done_(false),
353 maximumStorageMode_(MaxStorageMode_Recycle), 353 maximumStorageMode_(MaxStorageMode_Recycle),
354 maximumStorageSize_(0), 354 maximumStorageSize_(0),
355 maximumPatients_(0) 355 maximumPatients_(0),
356 readOnly_(readOnly)
356 { 357 {
357 SetTransactionContextFactory(new TransactionContextFactory(context)); 358 SetTransactionContextFactory(new TransactionContextFactory(context));
358 359
359 // Initial recycling if the parameters have changed since the last 360 // Initial recycling if the parameters have changed since the last
360 // execution of Orthanc 361 // execution of Orthanc