apollographql / router

A configurable, high-performance routing runtime for Apollo Federation 🚀
https://www.apollographql.com/docs/router/
Other
784 stars 256 forks source link

Unnecessary cache warmup message displayed on router startup #5489

Open bonnici opened 1 month ago

bonnici commented 1 month ago

Describe the bug

When starting up the router with no queries to cache, the following message is displayed

warming up the query plan cache with 0 queries, this might take a while

To Reproduce

Steps to reproduce the behavior:

  1. Start up the router with no queries or persisted queries to cache.
  2. See info-level message noted above.

Expected behavior

The message should not be displayed unless there is at least one query or persisted query to cache.

Desktop (please complete the following information):

ahsan-naveed commented 3 weeks ago

/assign

ahsan-naveed commented 3 weeks ago

https://github.com/apollographql/router/pull/5617