Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add minor changes #657

Merged
merged 4 commits into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ django_rq.egg-info/
*.rdb
# pycharm
.idea
.vscode
Pipfile.lock
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion django_rq/tests/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def tearDown(self):
def test_get_connection_default(self):
"""
Test that get_connection returns the right connection based for
`defaut` queue.
`default` queue.
"""
config = QUEUES['default']
connection = get_connection()
Expand Down
2 changes: 1 addition & 1 deletion django_rq/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_scheduler_pid(queue):
It Only works with RQ's Built-in RQScheduler.
When RQ-Scheduler is available returns False
If not, it checks the RQ's RQScheduler for a scheduler lock in the desired queue
Note: result might have some delay (1-15 minutes) but it helps visualizing whether the setup is working correcly
Note: result might have some delay (1-15 minutes) but it helps visualizing whether the setup is working correctly
'''
try:
# first try get the rq-scheduler
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
package_data={'': ['README.rst']},
install_requires=['django>=3.2', 'rq>=1.14', 'redis>=3'],
extras_require={
'Sentry': ['raven>=6.1.0'],
'testing': ['mock>=2.0.0'],
'Sentry': ['sentry-sdk>=1.0.0'],
'testing': [],
},
classifiers=[
'Development Status :: 4 - Beta',
Expand Down
Loading