Refrigerating circuit comprising a compressor