<commit_before>/* jshint node: true */
"use strict";

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

var https = require('https');
var url = require('url');

var debug = function(message) {
  console.log((new Date().toLocaleString()) + ' - ' + message);
}

var sendRegister = function(connection) {
  connection.sendUTF('{"channelID":"1234","messageType":"register"}');
};

var sendNotification = function(where, version) {
  var u = url.parse(where);
  var options = {
    hostname: u.hostname,
    path: u.path,
    method: 'PUT'
  };
<commit_msg>Change flood push server to close connection after every put<commit_after>/* jshint node: true */
"use strict";

process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";

var https = require('https');
var url = require('url');

var debug = function(message) {
  console.log((new Date().toLocaleString()) + ' - ' + message);
}

var sendRegister = function(connection) {
  connection.sendUTF('{"channelID":"1234","messageType":"register"}');
};

var sendNotification = function(where, version) {
  var u = url.parse(where);
  var options = {
    hostname: u.hostname,
    path: u.path,
    method: 'PUT',
    agent: false
  };

{'fraction_non_alphanumeric': 0.16966580976863754, 'fraction_numerical': 0.00856898029134533, 'mean_word_length': 4.509433962264151, 'pattern_counts': {'":': 4, '<': 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': '812059', 'n_tokens_mistral': 385, 'n_tokens_neox': 382, 'n_words': 89}