Giter Club home page Giter Club logo

Comments (8)

rusq avatar rusq commented on May 30, 2024

@shi-bmz the release doesn't have it yet, I wanted to implement #11 and #10 before tagging the next version.

Can you try this build? I built the latest master, that has this fix.

slackdump-linux.zip
slackdump-windows.zip
slackdump-darwin.zip

from slackdump.

foucist avatar foucist commented on May 30, 2024

@rusq BTW, I tried the new build and it works! Thanks! Minor note - it's significantly slower on the initial fetch to 800 messages. Might be using the wrong tier? I wonder if the original speed would have been fine right up until the 429 retry happens. I think that going at original speed + 1 minute wait every 800 messages would probably be faster.

from slackdump.

rusq avatar rusq commented on May 30, 2024

I may have overdone it with throttling, I'll see if I can fine tune or ditch it altogether and rely just on slack rate limiting.

from slackdump.

rusq avatar rusq commented on May 30, 2024

Hey @foucist, I've added a couple of params as described in #17 , here's the build if you want to give it a go.

slackdump-windows.zip
slackdump-linux.zip
slackdump-darwin.zip

from slackdump.

foucist avatar foucist commented on May 30, 2024

@rusq Nice, it's much faster now. I didn't even notice if the 429 even got triggered so possibly could bump it up with limit-boost if needed, nice to have that option!

Quick question: do you need to cache the whole list of channels when I'm only dumping one specific channel?

It takes about 5 minutes to fetch the users & channels for the slack I'm testing with, I wonder if it would be worth saving a copy locally and assuming it hasn't changed within 2-4 hours? That could save a big chunk of time if the command is run a bunch of times in a short period of time.

from slackdump.

rusq avatar rusq commented on May 30, 2024

@foucist cool, I agree caching is questionable, I don't even remember what was the reason I did it for TBH, but removing it is on my TODO list. Great to hear that it worked!

from slackdump.

rusq avatar rusq commented on May 30, 2024

I'll close this one, created #18 to track the cache removal/optimisation

from slackdump.

shi-bmz avatar shi-bmz commented on May 30, 2024

@foucist thanks a bunch for this! I tried the latest (linux) release that you posted above, and got:
./slackdump: cannot execute binary file: Exec format error
I then tried the (linux) version you posted previously, and it worked nicely -- thanks again!

from slackdump.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.