Code Monkey home page Code Monkey logo

Comments (2)

JohnWelborn avatar JohnWelborn commented on June 7, 2024

The cuebot has an optimization (for performance and cache reuse) where a proc stays on the same layer in some cases. Users sometimes would unbook a proc if they did not like it so they could pick up another one but without killing the running frame.

Maybe its part of the proc interface? Are the old slice files available?

from opencue.

gregdenton avatar gregdenton commented on June 7, 2024

Thanks for the info John.
I think I've found the disconnect. The original slice files defined an unbookProcs method that used a ProcSearchCriteria attribute to handle the unbooking from a job or layer object. We have this message also on grpc.
However the cue python API used the proxy object of a layer or job to unbook with the following signature:
layer.unbookProcs(list<Subscriptions>, number=int, kill=bool).

The single proc.unbook method is still available and working to give basic unbook support, but I suggest we add the multi unbook functionality back by simply having the layer.unbookProcs and job.unbookProcs functions construct the ProcSearchCriteria object and pass that to the existing grpc message ProcInterface.UnbookProcs.

from opencue.

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.