message: Only attempt an S3 request if this row is in S3
diff: @@ -70,9 +70,11 @@ pub fn get_path(conn: &Connection, path: &str) -> Option<Blob> {
  if rows.len() == 0 {
  None
  } else {
  - let client = s3_client();
  let row = rows.get(0);
  - let content = client.and_then(|c| c.get_object(GetObjectRequest {
  + let mut content = row.get(3);
  + if content == b"in-s3" {
  + let client = s3_client();
  + content = client.and_then(|c| c.get_object(GetObjectRequest {
  bucket: "rust-docs-rs".into(),
  key: path.into(),
  ..Default::default()
  @@ -81,7 +83,8 @@ pub fn get_path(conn: &Connection, path: &str) -> Option<Blob> {
  let mut content = Vec::new();
  b.read_to_end(&mut content).unwrap();
  content
  - }).unwrap_or(row.get(3));
  + }).unwrap();
  + };
  Some(Blob {
  path: row.get(0),
  