diff --git a/main.go b/main.go index 2182ae3..e7092c9 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,7 @@ func initConfig() { ResultsExpireIn: 5, } machineryServer, _ = machinery.NewServer(machineryConfig) - uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.1; " + hostURL.Host + ")" + uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.2; " + hostURL.Host + ")" relayState = state.NewState(redisClient) actorCache = cache.New(5*time.Minute, 10*time.Minute) Actor.GenerateSelfKey(hostURL, &hostPrivatekey.PublicKey) diff --git a/worker/worker.go b/worker/worker.go index 22797eb..67b1ebc 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -66,7 +66,7 @@ func initConfig() { machineryServer, _ = machinery.NewServer(machineryConfig) newNullLogger := NewNullLogger() log.DEBUG = newNullLogger - uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.1; " + hostURL.Host + ")" + uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.2; " + hostURL.Host + ")" Actor.GenerateSelfKey(hostURL, &hostPrivatekey.PublicKey) fmt.Println("Welcome to YUKIMOCHI Activity-Relay [Worker]\n - Configrations")