First time here? Check out the FAQ!
1

Karma thresholds always reset to default when edited
 

If I visit the admin page askbot/settings/MIN_REP/ on my own site, I see the Karma thresholds. But if I change a number and resubmit, the page refreshes with the defaults. Is there trick to getting this to work?

Karma thresholds
Upvote Default value: 15

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
brycenesbitt's avatar
131
brycenesbitt
asked 13 years ago
todofixthis's avatar
1.3k
todofixthis
updated 12 years ago

Comments

I don't think it's a bug, most likely cache issue.

Evgeny's avatar Evgeny (13 years ago)
see more comments

2 Answers

1

You must have issue with the cache. Most frequently this happens when you have a multiprocess setup and local memory cache. For such setup - use memcached or redis. Pls look up django docs on caching for more information.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 13 years ago
link

Comments

Do you need to add a cache-control header there to keep this from happening?

brycenesbitt's avatar brycenesbitt (13 years ago)
see more comments
0

This is an issue with Shared Cache. Configure and install memcached on your server - i.e your Hosting provider. Should Fix!

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
pajju's avatar
565
pajju
answered 12 years ago, updated 12 years ago
link

Comments

see more comments