Email or username:

Password:

Forgot your password?
dansup

It's funny how much difference a single line of code can make

Faster federation ingestion in the latest #pixelfed commits!

Before vs. After

14 comments
dansup

Oh gosh, jobs per min keeps increasing πŸ˜… 😍

r000t

@dansup Me submitting applications and getting no callbacks

Michael Mrak

@dansup That's really amazing. I created my own insctance a few days ago, it works great, thanks so much.

Just one issue - can you have a look at the instagram import issue, this seems to be really a bit issue for many people who want to leave insta be don't want to loose there pictures πŸ˜€

All the best from Austria.

dansup

@MichaelMrak I'm planning on working on IG import next month!

Bodo Menke

@dansup If there would be involved an database backend, I would say, you have set an prior forgotten index. ;-)

Efexor Zolpidem :v_com:

@dansup what was the line though 😲
the people* want to know

* me, basically.

dansup

@capeta ```
- $actor->followers()->count() == 0
+ $actor->followers_count == 0
```

Efexor Zolpidem :v_com:

@dansup but you made some changes to prefetch the count, right? or memoize some, or some wizardry like that.

dansup

@capeta Yeah the $actor is a database model with a `followers_count` column, I haven't updated this code in a while so it never was updated to use that *newer* `followers_count` column

H.

@dansup @capeta oh man, this is like homework… now I have to go check my Laravel code 😞 so awesome though! It’s amazing the difference something so small can make!

btd

@dansup great! and when we can expect new release on GitHub?

Go Up