<commit_before>#include "QxtWebSession.h"
#include <QSqlQuery>
#include <QVariant>
#define SESSTIMOUT "'00:00:10'"
QxtWebSession::QxtWebSession ( QByteArray cookie_m, QSqlDatabase dbf ):QMap<QString,QString>()
        {
        QSqlQuery ("DELETE from `sessions`  WHERE `timeout`<now()",db);

        cookie=cookie_m;
        db=dbf;
        QSqlQuery query("SELECT `key`,`value` FROM `sessions` WHERE `cookie`='"+cookie+"'",db);
        while (query.next()) 
                {<commit_msg>fixed wrong default timeout<commit_after>#include "QxtWebSession.h"
#include <QSqlQuery>
#include <QVariant>
#define SESSTIMOUT "'00:10:00'"
QxtWebSession::QxtWebSession ( QByteArray cookie_m, QSqlDatabase dbf ):QMap<QString,QString>()
        {
        QSqlQuery ("DELETE from `sessions`  WHERE `timeout`<now()",db);

        cookie=cookie_m;
        db=dbf;
        QSqlQuery query("SELECT `key`,`value` FROM `sessions` WHERE `cookie`='"+cookie+"'",db);
        while (query.next()) 
                {
{'fraction_non_alphanumeric': 0.15524193548387097, 'fraction_numerical': 0.012096774193548387, 'mean_word_length': 3.7285714285714286, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 9, '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': '1277423', 'n_tokens_mistral': 342, 'n_tokens_neox': 327, 'n_words': 67}