exactly, lee asked the right question. wich is your machine make and model?
the hydraulic systems designs vary according to the manufacturer. komatsu, hitachi use the load sense control systems meanwhile cat, jcb, volvo, hyundai, doosan use the negative flow control system in most of their excavators models.
most probably thing done by your mechanic is that he went down the horsepower curve of the hydraulic system by lowering the relief valve setting.
and like ATCO wrote this will heat the hydraulic oil temperarature, in many cases after 20-35 minutes of work.