diff --git a/main.go b/main.go index d953228..8888dd2 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.0rc2; " + hostURL.Host + ")" + uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.0; " + 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 92b02a2..ff1d75d 100644 --- a/worker/worker.go +++ b/worker/worker.go @@ -63,7 +63,7 @@ func initConfig() { ResultsExpireIn: 5, } machineryServer, _ = machinery.NewServer(machineryConfig) - uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.0rc2; " + hostURL.Host + ")" + uaString = viper.GetString("relay_servicename") + " (golang net/http; Activity-Relay v0.2.0; " + hostURL.Host + ")" Actor.GenerateSelfKey(hostURL, &hostPrivatekey.PublicKey) fmt.Println("Welcome to YUKIMOCHI Activity-Relay [Worker]\n - Configrations")