Ask Your Question
1

Karma thresholds always reset to default when edited

asked 2012-01-27 14:28:16 -0600

brycenesbitt gravatar image

updated 2012-08-25 22:53:13 -0600

todofixthis gravatar image

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
edit retag flag offensive close merge delete

Comments

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

Evgeny gravatar imageEvgeny ( 2012-01-27 14:52:13 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-01-27 14:51:23 -0600

Evgeny gravatar image

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.

edit flag offensive delete link more

Comments

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

brycenesbitt gravatar imagebrycenesbitt ( 2012-01-27 15:54:47 -0600 )edit
0

answered 2012-08-26 01:37:34 -0600

pajju gravatar image

updated 2012-08-26 01:39:20 -0600

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-01-27 14:28:16 -0600

Seen: 144 times

Last updated: Aug 26 '12