1) fermentation should have been complete before you transferred to secondary.
2) in most cases, longer is better. If I did a secondary (rarely) I would go for a minimum of 2 weeks.
You don't need to secondary at all with most beers if not making additions of aging for a long time (months) 3-4 weeks in primary then bottle.
Your beer will be fine