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

What does [...] or -*- means in -*-_DB_SHORT_LIVED_SESSIONS #5819

Closed
jorge-fresh4cast opened this issue Nov 8, 2019 · 5 comments
Closed

What does [...] or -*- means in -*-_DB_SHORT_LIVED_SESSIONS #5819

jorge-fresh4cast opened this issue Nov 8, 2019 · 5 comments

Comments

@jorge-fresh4cast
Copy link

@jorge-fresh4cast jorge-fresh4cast commented Nov 8, 2019

Checklist

  • I have checked the issues list
    for similar or identical bug reports.
  • I have checked the pull requests list
    for existing proposed fixes.
  • I have checked the commit log
    to find out if the bug was already fixed in the master branch.
  • I have included all related issues and possible duplicate issues in this issue
    (If there are none, check this box anyway).

Related Issues and Possible Duplicates

Related Issues

  • None

Possible Duplicates

  • None

Description

The documentation https://docs.celeryproject.org/en/latest/history/whatsnew-4.0.html#latentcall-django-admonition is inconsistent when it comes to -*-_DB_SHORT_LIVED_SESSIONS.

I can't find guidance about what does -*- represents and what should be the final name on that setting.

I have tried CELERY_DEFAULT_DB_SHORT_LIVED_SESSIONS but the 2006 MySQL problem is supposed to fix continues to happen so I assume the setting is wrong. We need a clearer doc on how to use that setting.

Suggestions

Give an example on how the configuration should look in a Django file and explain what -*- represents. Also, I have seen it as [...] in other places so it should be consistent unless it's meant to be intentionally different.

@thedrow
Copy link
Member

@thedrow thedrow commented Nov 18, 2019

I have to say, I honestly don't know what this setting is or what it does. 😓

@auvipy
Copy link
Member

@auvipy auvipy commented Nov 18, 2019

you should use the lowercase database_short_lived_sessions instead

@jorge-fresh4cast
Copy link
Author

@jorge-fresh4cast jorge-fresh4cast commented Nov 21, 2019

you should use the lowercase database_short_lived_sessions instead

Does that apply for Django settings as well?

@auvipy
Copy link
Member

@auvipy auvipy commented Dec 16, 2019

for celery related yes

@auvipy auvipy added this to the 4.4.x milestone Dec 16, 2019
@jess7575
Copy link

@jess7575 jess7575 commented Jan 9, 2020

-*- encoding declaration
*args
**kwargs

@auvipy auvipy closed this May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.