Bei Li

@libei
2.1K Followers
200 Following
1,007 Posts

@PeterSommerlad Sorry for the late reply.

My account works fine with Mastoot today, does the issue still exist on your side?

@mattiem OK I could have a try. But this code path is super early, there's no much code run before it.
@mattiem I can't reproduce it in local, so help from debugging tools are unavailable. 🤷‍♂️
@mattiem Yes, but I can't get more information either.

@bigzaphod Is OSLog Logger Sendable? https://forums.developer.apple.com/forums/thread/747816?answerId=781922022#781922022

So `@ preconcurrency` seems legit…

Is OSLog Logger Sendable? | Apple Developer Forums

@MoritzGiessmann is 5,000. 😂 I guess. somehow it’s a good number.
Is there an ideal limit for cached home timeline posts? Maybe 5,000? #Mastoot

@jjoelson @shadowfacts @mattiem Even you somehow get these tasks executing in order, if I understand correctly, the actor has also no guarantee for the order of awaited `update(offset:)` calls.

> This is conceptually similar to a serial DispatchQueue, but with an important difference: tasks awaiting an actor are not guaranteed to be run in the same order they originally awaited that actor.

https://github.com/apple/swift-evolution/blob/main/proposals/0306-actors.md#actor-isolation

swift-evolution/proposals/0306-actors.md at main · apple/swift-evolution

This maintains proposals for changes and user-visible enhancements to the Swift Programming Language. - apple/swift-evolution

GitHub
@jjoelson @mattiem Will this be affected by the actor execution order issue? I roughly remember that actors have no guarantee for execution order.
@mattiem @jjoelson OK now we got these: