gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6dcaeb466dcaeb46Records: resetKey planmre6dcaeb46/lib/state.hl

426 B

  1. // lib/state.hl — the ONE in-memory cache every topic shares (lib/browse.hl, lib/dups.hl, lib/plays.hl, lib/queue.hl, lib/catalog.hl): a module of its own so that no two
  2. // topics hold separate copies. Dropped by `dropOrderCache` when a scan changed songs.
  3. import OrderCache from './order-cache.hl'
  4. static cache = new OrderCache()
  5. static dropOrderCache = () => {
  6. cache.lists = {}
  7. cache.stats = null
  8. cache.dups = null
  9. }

Branches

Latest commits

  • 6dcaeb46Records: resetKey planmre
  • c5dbf2ecRecords: R2 resultmre
  • 956069b8Records: R1 result, mission 007mre
  • 3c8a2e12Mission 007: #20 sort scrollmre
  • deb8cef5Records: mission 006 startedmre
  • 4f0ad42fMission 006: jukebox#20mre
  • 800cae06Records: #21 planmre
  • 64bc7823Records: #21 causemre
  • 76639655Records: B1 questionmre
  • d7906b36Records: mission 005 startedmre
  • d3df773cMission 005: doc linemre
  • 6a5d840aMission 005: jukebox#22mre
  • 13e5e748Records: mission 004 startedmre
  • a8098271Mission 004: jukebox#21mre
  • df8f5205Records: jukebox#19-21, #11 closedmre
  • b7a4e692Records: hybriel#298mre
  • 9bcbb017Records: day38b waits for day39 fixmre
  • f80504e1Records: day38b repro sentmre
  • 8048258bRecords: day38b jb3 regression, L1 Chromes stoppedmre
  • 68aace7fRecords: mission 003 day38bmre