<commit_before>from datetime import timedelta
from flask import current_app


caching_tasks = {
    'cache_user_donations': {
        'task': 'simplecoin.tasks.cache_user_donation',
        'schedule': timedelta(minutes=15)
    },
    'compute_pplns': {
        'task': 'simplecoin.tasks.update_pplns_est',
        'schedule': timedelta(minutes=15)
    },
    'update_online_workers': {
        'task': 'simplecoin.tasks.update_online_workers',
        'schedule': timedelta(minutes=2)
    },
    'update_diff_average': {
        'task': 'simplecoin.tasks.difficulty_avg',
        'schedule': timedelta(minutes=15),
    },
    'server_status': {
        'task': 'simplecoin.tasks.server_status',
        'schedule': timedelta(minutes=2),
    },<commit_msg>Have some tasks perform more often.<commit_after>from datetime import timedelta
from flask import current_app


caching_tasks = {
    'cache_user_donations': {
        'task': 'simplecoin.tasks.cache_user_donation',
        'schedule': timedelta(minutes=15)
    },
    'compute_pplns': {
        'task': 'simplecoin.tasks.update_pplns_est',
        'schedule': timedelta(minutes=10)
    },
    'update_online_workers': {
        'task': 'simplecoin.tasks.update_online_workers',
        'schedule': timedelta(minutes=1)
    },
    'update_diff_average': {
        'task': 'simplecoin.tasks.difficulty_avg',
        'schedule': timedelta(minutes=10),
    },
    'server_status': {
        'task': 'simplecoin.tasks.server_status',
        'schedule': timedelta(minutes=1),
    },
{'fraction_non_alphanumeric': 0.14015645371577576, 'fraction_numerical': 0.010430247718383311, 'mean_word_length': 3.25207756232687, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5365353', 'n_tokens_mistral': 516, 'n_tokens_neox': 489, 'n_words': 73}