mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-24 14:27:58 -05:00
Subreddit name search is used for recommending subreddits to users as they type a name on the submission page. Also adds a missing script that is needed to load up the subreddit names into cassandra. This script should be run occasionally (we do it once per day) to fill/update the search cache.
5 lines
183 B
Bash
Executable File
5 lines
183 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd ~/reddit/r2
|
|
~/reddit/scripts/saferun.sh /tmp/update_sr_names.pid nice /usr/local/bin/paster --plugin=r2 run run.ini r2/lib/subreddit_search.py -c "load_all_reddits()"
|