1. 22 10月, 2020 7 次提交
  2. 21 10月, 2020 14 次提交
  3. 20 10月, 2020 5 次提交
  4. 19 10月, 2020 6 次提交
  5. 18 10月, 2020 4 次提交
  6. 17 10月, 2020 4 次提交
    • A
      Fix with-mongodb hot-reload issue and race condition (#17666) · 82041542
      Ash Connell 提交于
      This PR fixes 2 issues with the mongodb example:
      
      ### 1. Fallable Caching Strategy
      
      Calling `connectToDatabase()` multiple times before it's cached results in multiple connections being created. The latest one created was becoming the "cached" one and the others dissappear into the background.
      
      This is now fixed by using **promise sharing** so that only one connection can ever be created.
      
      ### 2. Problematic Hot Reload
      
      During development you can monitor your database connections and see that it continues to create more and more connections over time. Some users have reported their [databases reaching maximum connection limits](https://github.com/vercel/next.js/discussions/12229).
      
      This is resolved by using `global` to store the cached connection. It's not ideal but it is necessary.
      82041542
    • J
      Stabilize i18n fallback test (#17957) · f01deeed
      JJ Kasper 提交于
      * Stabilize i18n fallback test
      
      * Handle reload during hydration check
      f01deeed
    • J
      v9.5.6-canary.4 · ba83d865
      Joe Haddad 提交于
      ba83d865
    • J
      Add perf data experiment (#17956) · 0fe5b23b
      Joe Haddad 提交于
      0fe5b23b