Closed peterhoepfl closed 1 year ago
Some of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.[^1]
# Download the patch
curl https://lift.sonatype.com/api/patch/github.com/aservo/ldap-crowd-adapter/27.diff -o lift-autofixes.diff
# Apply the patch with git
git apply lift-autofixes.diff
# Review the changes
git diff
Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command:
curl https://lift.sonatype.com/api/patch/github.com/aservo/ldap-crowd-adapter/27.diff | git apply
Once you're satisfied, commit and push your changes in your project. [^1]: You can preview the patch by opening the patch URL in the browser.
Please reformat the code: use simple spaces instead of tabs (\t)
I can't see any tabs in the code I committed, do you have an example?
SonarCloud Quality Gate failed.
For high availability or multiple instance support the sync job has to be extended so that it always runs only on one instance. These new config parameters were introduced:
set initial delay for sync-job in seconds mirror.sync.initialdelay set period for sync-job in seconds mirror.sync.period enable postgres dblock for corwd-sync so that only one of instances executes the syncjob mirror.sync.usebdlock=
mirror.sync.lockid=
AcquireDbLock wait time, how long in seconds will the function in total try to get the lock persistence.acquiredblock-wait-time
how many seconds shall AcquireDbLock wait between two tries persistence.acquiredblock-recheck-time