Add startup warning

This commit is contained in:
Peter Rabbitson 2020-09-26 21:49:05 +02:00
parent 1483f1e59a
commit fb3bcc4ce5

View File

@ -303,6 +303,8 @@ var serveDealStatsCmd = &cli.Command{
panic(err)
}
log.Warnf("deal-stat server listening on %s\n== NOTE: QUERIES ARE EXPENSIVE - YOU MUST FRONT-CACHE THIS SERVICE\n", list.Addr().String())
return s.Serve(list)
},
}