# DistributedLock

**URL:** <https://forum.litium.com/t/distributedlock/3112>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [October 23, 2023, 2:32pm UTC](https://forum.litium.com/t/distributedlock/3112 "2023-10-23T14:32:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KarwanAzar](https://avatars.discourse-cdn.com/v4/letter/k/94ad74/32.png) [@KarwanAzar](https://forum.litium.com/u/KarwanAzar)\
**Post date:** [October 23, 2023, 2:32pm UTC](https://forum.litium.com/t/distributedlock/3112/1 "2023-10-23T14:32:36Z")

</div>

Hello.

I have a cron job function in one of the projects I’m working.

When making changes that doesn’t directly effect that functionality I get this error:  
`Litium.Runtime.DistributedLock.DistributedLockException`

The changes are very minor so the error I get doesn’t exactly make sense. When running my changes in the test-cloud environment the cron job simply won’t let go of the lock.

However when I revert back to simply what I had before, dev without the small changes, it works again.

Does anyone have any idea as to why this might be?

---

<div class="post-metadata">

**Author:** ![utku](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/utku/32/62_2.png) [@utku](https://forum.litium.com/u/utku)\
**Post date:** [October 27, 2023, 11:46am UTC](https://forum.litium.com/t/distributedlock/3112/2 "2023-10-27T11:46:16Z")

</div>

What is your changes? Very hard to say something without knowing what the cron job does and what is your changes.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [November 24, 2023, 11:47am UTC](https://forum.litium.com/t/distributedlock/3112/3 "2023-11-24T11:47:13Z")

</div>

Closed on November 24, 2023, 11:47am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
