Fix a race condition where content is incorrectly garbage collected.
1. A new session is created with strategy REQUEST_WITH_CONTENT.
2. Initialization hasn't completed, so the new session is not included in
   SessionCache when GC is enqueued.
3. The request completes with a new HEAD, GC runs.
4. GC deletes content that was branched into the session in step #1.

PiperOrigin-RevId: 261332120
Change-Id: Idbbab6732f28315cfb2ed4f0cfc7a097d957d5ef
8 files changed
tree: 6d1f079631b2fd80e175b22ed0af490b0628153a
  1. src/
  2. third_party/
  3. AUTHORS
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. README.md
  8. WORKSPACE
README.md

Feed Libraries

This directory includes various libraries and protocols which users can use to to embed the proactive content recommendations into their application. Supported surfaces currently include Android.

Contributing

See CONTRIBUTING.md.