From fb990c998f8403e3529949cd88d190670163576c Mon Sep 17 00:00:00 2001 From: David Sinclair Date: Tue, 4 Jul 2023 17:17:10 -0700 Subject: [PATCH 1/2] #1797 (cold boot should preserve feeds and icons) - Removed some test code missed before. --- clients/ios/Classes/FeedsObjCViewController.m | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/clients/ios/Classes/FeedsObjCViewController.m b/clients/ios/Classes/FeedsObjCViewController.m index 649464db8..170d6375b 100644 --- a/clients/ios/Classes/FeedsObjCViewController.m +++ b/clients/ios/Classes/FeedsObjCViewController.m @@ -2856,17 +2856,6 @@ heightForHeaderInSection:(NSInteger)section { [userInfoView addSubview:userAvatarButton]; - NSString *rootPath = appDelegate.documentsURL.path; - NSString *PINDiskCachePrefix = @"com.pinterest.PINDiskCache"; - NSString *cacheName = @"NBFavicons"; - NSString *pathComponent = [[NSString alloc] initWithFormat:@"%@.%@", PINDiskCachePrefix, cacheName]; - NSURL *cacheURL = [NSURL fileURLWithPathComponents:@[ rootPath, pathComponent ]]; - NSError *error = nil; - NSArray *files = [[NSFileManager defaultManager] contentsOfDirectoryAtURL:cacheURL - includingPropertiesForKeys:nil - options:NSDirectoryEnumerationSkipsHiddenFiles - error:&error]; - userLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, yOffset, userInfoView.frame.size.width, 16)]; userLabel.text = appDelegate.activeUsername; userLabel.font = userLabelFont; From d93e43a27475ee1669f5f174779f20803c9e7a28 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 20 Jul 2023 20:14:26 -0400 Subject: [PATCH 2/2] Work -> 20 --- terraform/digitalocean.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/digitalocean.tf b/terraform/digitalocean.tf index 9c43a523b..fbde9a509 100644 --- a/terraform/digitalocean.tf +++ b/terraform/digitalocean.tf @@ -619,7 +619,7 @@ resource "digitalocean_droplet" "task-work" { image = var.droplet_os name = "task-work${count.index + 1}" region = var.droplet_region - size = var.droplet_size_10 + size = var.droplet_size_20 ssh_keys = [digitalocean_ssh_key.default.fingerprint] provisioner "local-exec" { command = "/srv/newsblur/ansible/utils/generate_inventory.py; sleep 120"