Corporate finance

What should primarily determine the discount rate used for a project’s operating cash flows?