You can leave compote in the pan longer until you are satisfied with the consistency. Take note that it will thicken further as it cools. Another option is to add a bit of cornstarch.