Remove old sleeps

This commit is contained in:
Shadowfacts 2023-01-27 21:48:47 -05:00
parent 455273f322
commit 9d7c876e3c
2 changed files with 0 additions and 3 deletions

View File

@ -209,7 +209,6 @@ class StatusActionAccountListCollectionViewController: UIViewController, Collect
await apply(snapshot: snapshot)
do {
try! await Task.sleep(nanoseconds: 2 * NSEC_PER_SEC)
let (accounts, pagination) = try await mastodonController.run(request(for: older))
await mastodonController.persistentContainer.addAll(accounts: accounts)

View File

@ -948,8 +948,6 @@ extension TimelineViewController {
typealias TimelineItem = String // status ID
func loadInitial() async throws -> [TimelineItem] {
try await Task.sleep(nanoseconds: 1 * NSEC_PER_SEC)
let request = Client.getStatuses(timeline: timeline)
let (statuses, _) = try await mastodonController.run(request)