<commit_before>package main

import (
	"github.com/cloudfoundry-incubator/garden/server"
	"github.com/pivotal-golang/lager"
	"time"
)

func main() {
	logger := lager.NewLogger("garden-lame")
	backend := lameBackend{Client: &lameClient{}}
	srv := server.New("tcp", ":3000", 5*time.Minute, &backend, logger)
	srv.Start()
}<commit_msg>keep the server running<commit_after>package main

import (
	"github.com/cloudfoundry-incubator/garden/server"
	"github.com/pivotal-golang/lager"
	"os"
	"os/signal"
	"syscall"
	"time"
)

func main() {
	logger := lager.NewLogger("garden-lame")
	backend := lameBackend{Client: &lameClient{}}
	srv := server.New("tcp", ":3000", 5*time.Minute, &backend, logger)
	srv.Start()

	exit := make(chan os.Signal)
	signal.Notify(exit, syscall.SIGINT, syscall.SIGTERM, syscall.SIGHUP)

	<-exit

	srv.Stop()
}
{'fraction_non_alphanumeric': 0.17654171704957677, 'fraction_numerical': 0.012091898428053204, 'mean_word_length': 5.225563909774436, 'pattern_counts': {'":': 2, '<': 4, '<?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': '2378198', 'n_tokens_mistral': 352, 'n_tokens_neox': 326, 'n_words': 55}