Giter Site home page Giter Site logo

Comments (5)

fooishbar avatar fooishbar commented on July 18, 2024 4

Another way would also be to use the root /merge_requests?scope=assigned_to_me&state=open endpoint, rather than iterating the list of every project Marge is a member of and then iterating the list of MRs for that project. That should make turnaround much quicker, and reduce the number of API calls as well.

from marge-bot.

fooishbar avatar fooishbar commented on July 18, 2024 1

@maikelvl Thanks for the pointer. Ultimately we just went with having a single instance per project (or group of related projects, at least), since mutual starvation was starting to become a problem, e.g. if you have two equally-active projects with 35min CI pipelines, then you could only merge one per project per hour ...

from marge-bot.

JaimeLennox avatar JaimeLennox commented on July 18, 2024

If you have many projects, then yes, it will take some time to iterate through all of them. It would be good to have some optimisations for Marge to work on different projects simultaneously (as mentioned in #69).

For now, a workaround would be to run multiple instances of Marge, each looking at a subset of your projects. As long as these don't overlap, they won't conflict with each other.

from marge-bot.

glensc avatar glensc commented on July 18, 2024

Thanks @JaimeLennox, i came to same conclusion for the workaround.

from marge-bot.

maikelvl avatar maikelvl commented on July 18, 2024

@fooishbar Cross-linking for more info about that in #75 (comment)

from marge-bot.

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.