<commit_before>// Copyright 2012 Apcera Inc. All rights reserved.

package server

import (
	"time"
)

const (
	VERSION = "go 0.2.1.alpha.2"

	DEFAULT_PORT = 4222
	DEFAULT_HOST = "0.0.0.0"

	// 1k should be plenty since payloads sans connect string are separate
	MAX_CONTROL_LINE_SIZE = 1024

	// Should be using something different if > 1MB payload
	MAX_PAYLOAD_SIZE = (1024 * 1024)

	// Maximum outbound size per client
	MAX_PENDING_SIZE = (10 * 1024 * 1024)

	// Maximum connections default
	DEFAULT_MAX_CONNECTIONS = (64 * 1024)

	// TLS/SSL wait time
	SSL_TIMEOUT = 250 * time.Millisecond

	// Authorization wait time
	AUTH_TIMEOUT = 2 * SSL_TIMEOUT

	// Ping intervals
	DEFAULT_PING_INTERVAL = 2 * time.Minute
	DEFAULT_PING_MAX      = 2

	CR_LF = "\r\n"

	// Write/Flush Deadlines
	DEFAULT_FLUSH_DEADLINE = 500 * time.Millisecond
)
<commit_msg>Bumped version: deadline write logic<commit_after>// Copyright 2012 Apcera Inc. All rights reserved.

package server

import (
	"time"
)

const (
	VERSION = "go 0.2.1.alpha.4"

	DEFAULT_PORT = 4222
	DEFAULT_HOST = "0.0.0.0"

	// 1k should be plenty since payloads sans connect string are separate
	MAX_CONTROL_LINE_SIZE = 1024

	// Should be using something different if > 1MB payload
	MAX_PAYLOAD_SIZE = (1024 * 1024)

	// Maximum outbound size per client
	MAX_PENDING_SIZE = (10 * 1024 * 1024)

	// Maximum connections default
	DEFAULT_MAX_CONNECTIONS = (64 * 1024)

	// TLS/SSL wait time
	SSL_TIMEOUT = 250 * time.Millisecond

	// Authorization wait time
	AUTH_TIMEOUT = 2 * SSL_TIMEOUT

	// Ping intervals
	DEFAULT_PING_INTERVAL = 2 * time.Minute
	DEFAULT_PING_MAX      = 2

	CR_LF = "\r\n"

	// Write/Flush Deadlines
	DEFAULT_FLUSH_DEADLINE = 500 * time.Millisecond
)

{'fraction_non_alphanumeric': 0.08995937318630295, 'fraction_numerical': 0.06384213580963435, 'mean_word_length': 3.4092071611253196, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6224900', 'n_tokens_mistral': 703, 'n_tokens_neox': 588, 'n_words': 174}