Skip to content

Commit 91aaa58

Browse files
committed
fixed misspellings in readme
1 parent 8d8c8e7 commit 91aaa58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ For critical pieces of code that cannot overlap with one another, it is often ne
99

1010
If your application does not need a high performance mutex lock, Django DB Mutex does the trick. The common use case for Django DB Mutex is to provide the abilty to lock long-running periodic tasks that should not overlap with one another. Celery is the common backend for Django when scheduling periodic tasks.
1111

12-
## How to Use Djagno DB Mutex
13-
The Djagno DB Mutex app provides a context manager and function decorator for locking a critical section of code. The context manager is used in the following way:
12+
## How to Use Django DB Mutex
13+
The Django DB Mutex app provides a context manager and function decorator for locking a critical section of code. The context manager is used in the following way:
1414

1515
from db_mutex import db_mutex, DBMutexError, DBMutexTimeoutError
1616

@@ -67,7 +67,7 @@ Django DB Mutex can be used with celery's tasks in the following manner.
6767
except DBMutexError:
6868
# Ignore this task since the same one is already running
6969
pass
70-
except DBMutextTimeoutError:
70+
except DBMutexTimeoutError:
7171
# A task ran for a long time and another one may have overlapped with it. Report the error
7272
pass
7373

0 commit comments

Comments
 (0)